Repository navigation
Expand file tree
/
Copy pathActivity.xml
More file actions
322 lines (308 loc) · 18.1 KB
/
Copy pathActivity.xml
File metadata and controls
322 lines (308 loc) · 18.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
<Type Name="Activity" FullName="System.Activities.Activity">
<TypeSignature Language="C#" Value="public abstract class Activity" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit Activity extends System.Object" />
<TypeSignature Language="DocId" Value="T:System.Activities.Activity" />
<TypeSignature Language="VB.NET" Value="Public MustInherit Class Activity" />
<TypeSignature Language="C++ CLI" Value="public ref class Activity abstract" />
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.Windows.Markup.ContentProperty("Implementation")</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>An abstract base class used to create composite activities from pre-existing <see cref="T:System.Activities.Activity" /> objects.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<xref:System.Activities.Activity> is the base class in the activity type hierarchy. All other activity types such as <xref:System.Activities.CodeActivity>, <xref:System.Activities.NativeActivity>, <xref:System.Activities.AsyncCodeActivity>, <xref:System.Activities.DynamicActivity>, and <xref:System.Activities.ActivityWithResult> derive from this class.
## Examples
The following example shows a simple implementation of an <xref:System.Activities.Activity> derived class.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected Activity ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Activity.#ctor" />
<MemberSignature Language="VB.NET" Value="Protected Sub New ()" />
<MemberSignature Language="C++ CLI" Value="protected:
 Activity();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Activities.Activity" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CacheId">
<MemberSignature Language="C#" Value="protected internal int CacheId { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 CacheId" />
<MemberSignature Language="DocId" Value="P:System.Activities.Activity.CacheId" />
<MemberSignature Language="VB.NET" Value="Protected Friend ReadOnly Property CacheId As Integer" />
<MemberSignature Language="C++ CLI" Value="protected public:
 property int CacheId { int get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the identifier of the cache that is unique within the scope of the workflow definition.</summary>
<value>The identifier of the cache that is unique within the scope of the workflow definition.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CacheMetadata">
<MemberSignature Language="C#" Value="protected virtual void CacheMetadata (System.Activities.ActivityMetadata metadata);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void CacheMetadata(valuetype System.Activities.ActivityMetadata metadata) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Activity.CacheMetadata(System.Activities.ActivityMetadata)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub CacheMetadata (metadata As ActivityMetadata)" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual void CacheMetadata(System::Activities::ActivityMetadata metadata);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="metadata" Type="System.Activities.ActivityMetadata" />
</Parameters>
<Docs>
<param name="metadata">The activity’s metadata that encapsulates the activity’s arguments, variables, child activities, and activity delegates.</param>
<summary>Creates and validates a description of the activity’s arguments, variables, child activities, and activity delegates.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The workflow runtime uses the default implementation of <xref:System.Activities.Activity.CacheMetadata%2A> to ensure correct construction of a workflow as well as to manage runtime relationships and lifetime rules. The default implementation of <xref:System.Activities.Activity.CacheMetadata%2A> examines the public properties of the activity type using the type’s <xref:System.ComponentModel.TypeDescriptor>. These public members are of type <xref:System.Activities.Argument>, <xref:System.Activities.Variable>, `IEnumerable<System.Activities.Variable>`, <xref:System.Activities.Activity>, `IEnumerable<System.Activities.Activity>`, or <xref:System.Activities.ActivityDelegate>. You can override this method to customize the building of the activity’s run-time description and to provide custom validation logic.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Constraints">
<MemberSignature Language="C#" Value="protected System.Collections.ObjectModel.Collection<System.Activities.Validation.Constraint> Constraints { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.ObjectModel.Collection`1<class System.Activities.Validation.Constraint> Constraints" />
<MemberSignature Language="DocId" Value="P:System.Activities.Activity.Constraints" />
<MemberSignature Language="VB.NET" Value="Protected ReadOnly Property Constraints As Collection(Of Constraint)" />
<MemberSignature Language="C++ CLI" Value="protected:
 property System::Collections::ObjectModel::Collection<System::Activities::Validation::Constraint ^> ^ Constraints { System::Collections::ObjectModel::Collection<System::Activities::Validation::Constraint ^> ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.ObjectModel.Collection<System.Activities.Validation.Constraint></ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a collection of <see cref="T:System.Activities.Validation.Constraint" /> activities that can be configured to provide validation for the <see cref="T:System.Activities.Activity" />.</summary>
<value>The collection of constraints.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="DisplayName">
<MemberSignature Language="C#" Value="public string DisplayName { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string DisplayName" />
<MemberSignature Language="DocId" Value="P:System.Activities.Activity.DisplayName" />
<MemberSignature Language="VB.NET" Value="Public Property DisplayName As String" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ DisplayName { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking.</summary>
<value>A friendly name that is used for debugging, validation, exception handling, and tracking.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This property is read-only at runtime.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Id">
<MemberSignature Language="C#" Value="public string Id { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Id" />
<MemberSignature Language="DocId" Value="P:System.Activities.Activity.Id" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Id As String" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ Id { System::String ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets an identifier that is unique in the scope of the workflow definition.</summary>
<value>An identifier that is unique in the scope of the workflow definition.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<xref:System.Activities.Activity.Id%2A> is used in tracking and validation.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Implementation">
<MemberSignature Language="C#" Value="protected virtual Func<System.Activities.Activity> Implementation { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Func`1<class System.Activities.Activity> Implementation" />
<MemberSignature Language="DocId" Value="P:System.Activities.Activity.Implementation" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Property Implementation As Func(Of Activity)" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual property Func<System::Activities::Activity ^> ^ Implementation { Func<System::Activities::Activity ^> ^ get(); void set(Func<System::Activities::Activity ^> ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue(null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Windows.Markup.Ambient</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.Windows.Markup.XamlDeferLoad(typeof(System.Activities.XamlIntegration.FuncDeferringLoader), typeof(System.Activities.Activity))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Func<System.Activities.Activity></ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the delegate that returns an <see cref="T:System.Activities.Activity" /> that contains the execution logic.</summary>
<value>The delegate that contains the execution logic.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The execution logic can be implemented as several Activity objects by containing them in a Sequence activity or other composite activity.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="ImplementationVersion">
<MemberSignature Language="C#" Value="protected internal virtual Version ImplementationVersion { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Version ImplementationVersion" />
<MemberSignature Language="DocId" Value="P:System.Activities.Activity.ImplementationVersion" />
<MemberSignature Language="VB.NET" Value="Protected Friend Overridable Property ImplementationVersion As Version" />
<MemberSignature Language="C++ CLI" Value="protected public:
 virtual property Version ^ ImplementationVersion { Version ^ get(); void set(Version ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue(null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.TypeConverter(typeof(System.Activities.XamlIntegration.ImplementationVersionConverter))</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Version</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the version of the implementation used.</summary>
<value>The version of the implementation</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="OnCreateDynamicUpdateMap">
<MemberSignature Language="C#" Value="protected virtual void OnCreateDynamicUpdateMap (System.Activities.DynamicUpdate.UpdateMapMetadata metadata, System.Activities.Activity originalActivity);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void OnCreateDynamicUpdateMap(class System.Activities.DynamicUpdate.UpdateMapMetadata metadata, class System.Activities.Activity originalActivity) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Activity.OnCreateDynamicUpdateMap(System.Activities.DynamicUpdate.UpdateMapMetadata,System.Activities.Activity)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub OnCreateDynamicUpdateMap (metadata As UpdateMapMetadata, originalActivity As Activity)" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual void OnCreateDynamicUpdateMap(System::Activities::DynamicUpdate::UpdateMapMetadata ^ metadata, System::Activities::Activity ^ originalActivity);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="metadata" Type="System.Activities.DynamicUpdate.UpdateMapMetadata" />
<Parameter Name="originalActivity" Type="System.Activities.Activity" />
</Parameters>
<Docs>
<param name="metadata">The metadata used.</param>
<param name="originalActivity">The original activity.</param>
<summary>Raises an event when creating dynamic update map.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ShouldSerializeDisplayName">
<MemberSignature Language="C#" Value="public bool ShouldSerializeDisplayName ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool ShouldSerializeDisplayName() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Activity.ShouldSerializeDisplayName" />
<MemberSignature Language="VB.NET" Value="Public Function ShouldSerializeDisplayName () As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:
 bool ShouldSerializeDisplayName();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Indicates whether the <see cref="P:System.Activities.Activity.DisplayName" /> property should be serialized.</summary>
<returns>
<see langword="true" /> if the <see cref="P:System.Activities.Activity.DisplayName" /> property value should be serialized; otherwise <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ToString">
<MemberSignature Language="C#" Value="public override string ToString ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance string ToString() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Activities.Activity.ToString" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function ToString () As String" />
<MemberSignature Language="C++ CLI" Value="public:
 override System::String ^ ToString();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Activities</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns a <see cref="T:System.String" /> that contains the <see cref="P:System.Activities.Activity.Id" /> and <see cref="P:System.Activities.Activity.DisplayName" /> of the <see cref="T:System.Activities.Activity" />.</summary>
<returns>The ID and the display name of the activity.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>