ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> Class


Defines an activity delegate that has sixteen in arguments and does not return a value.

generic <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename T9, typename T10, typename T11, typename T12, typename T13, typename T14, typename T15, typename T16>
public ref class ActivityAction sealed : System::Activities::ActivityDelegate
public sealed class ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> : System.Activities.ActivityDelegate
type ActivityAction<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7, 'T8, 'T9, 'T10, 'T11, 'T12, 'T13, 'T14, 'T15, 'T16> = class
    inherit ActivityDelegate
Public NotInheritable Class ActivityAction(Of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)
Inherits ActivityDelegate

Type Parameters


The type of the first delegate parameter.


The type of the second delegate parameter.


The type of the third delegate parameter.


The type of the fourth delegate parameter.


The type of the fifth delegate parameter.


The type of the sixth delegate parameter.


The type of the seventh delegate parameter.


The type of the eighth delegate parameter.


The type of the ninth delegate parameter.


The type of the tenth delegate parameter.


The type of the eleventh delegate parameter.


The type of the twelfth delegate parameter.


The type of the thirteenth delegate parameter.


The type of the fourteenth delegate parameter.


The type of the fifteenth delegate parameter.


The type of the sixteenth delegate parameter.



An activity delegate allows a developer to define the required signature of an activity that will be specified by a third party.

There are multiple generic versions of this type that take from 1 to 16 arguments for the activity that is called. There are also ActivityFunc types for activity delegates that return values.


ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>() ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>() ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>() ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>()

Creates a new instance of the ActivityAction<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16> class.


Argument1 Argument1 Argument1 Argument1

Gets or sets the first in argument of the activity delegate.

Argument10 Argument10 Argument10 Argument10

Gets or sets the tenth in argument of the activity delegate.

Argument11 Argument11 Argument11 Argument11

Gets or sets the eleventh in argument of the activity delegate.

Argument12 Argument12 Argument12 Argument12

Gets or sets the twelfth in argument of the activity delegate.

Argument13 Argument13 Argument13 Argument13

Gets or sets the thirteenth in argument of the activity delegate.

Argument14 Argument14 Argument14 Argument14

Gets or sets the fourteenth in argument of the activity delegate.

Argument15 Argument15 Argument15 Argument15

Gets or sets the fifteenth in argument of the activity delegate.

Argument16 Argument16 Argument16 Argument16

Gets or sets the sixteenth in argument of the activity delegate.

Argument2 Argument2 Argument2 Argument2

Gets or sets the second in argument of the activity delegate.

Argument3 Argument3 Argument3 Argument3

Gets or sets the third in argument of the activity delegate.

Argument4 Argument4 Argument4 Argument4

Gets or sets the fourth in argument of the activity delegate.

Argument5 Argument5 Argument5 Argument5

Gets or sets the fifth in argument of the activity delegate.

Argument6 Argument6 Argument6 Argument6

Gets or sets the sixth in argument of the activity delegate.

Argument7 Argument7 Argument7 Argument7

Gets or sets the seventh in argument of the activity delegate.

Argument8 Argument8 Argument8 Argument8

Gets or sets the eighth in argument of the activity delegate.

Argument9 Argument9 Argument9 Argument9

Gets or sets the ninth in argument of the activity delegate.

DisplayName DisplayName DisplayName DisplayName

Gets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking.

(Inherited from ActivityDelegate)
Handler Handler Handler Handler

Gets or sets the activity that is represented by this ActivityDelegate.

(Inherited from ActivityDelegate)


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetResultArgument() GetResultArgument() GetResultArgument() GetResultArgument()

When implemented in a derived class, returns the DelegateOutArgument of the ActivityDelegate.

(Inherited from ActivityDelegate)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnGetRuntimeDelegateArguments(IList<RuntimeDelegateArgument>) OnGetRuntimeDelegateArguments(IList<RuntimeDelegateArgument>) OnGetRuntimeDelegateArguments(IList<RuntimeDelegateArgument>) OnGetRuntimeDelegateArguments(IList<RuntimeDelegateArgument>)

Supplies a list of runtime arguments for the ActivityDelegate.

(Inherited from ActivityDelegate)
ShouldSerializeDisplayName() ShouldSerializeDisplayName() ShouldSerializeDisplayName() ShouldSerializeDisplayName()

Indicates whether the DisplayName property value should be serialized to XAML.

(Inherited from ActivityDelegate)
ToString() ToString() ToString() ToString()

Returns a String representation of the ActivityDelegate that contains the DisplayName.

(Inherited from ActivityDelegate)

Applies to

See also