This documentation is archived and is not being maintained.

InvokeFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult> Class

System::Object
  System.Activities::Activity
    System.Activities::ActivityWithResult
      System.Activities::Activity<TResult>
        System.Activities::NativeActivity<TResult>
          System.Activities.Expressions::InvokeFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>

Namespace:  System.Activities.Expressions
Assembly:  System.Activities (in System.Activities.dll)

[ContentPropertyAttribute(L"Func")]
generic<typename T1, typename T2, typename T3, typename T4, typename T5, typename T6, typename T7, typename T8, typename TResult>
public ref class InvokeFunc sealed : public NativeActivity<TResult>

Type Parameters

T1

The type of the first InArgument<T> whose value is passed to the ActivityFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>.

T2

The type of the second InArgument<T> whose value is passed to the ActivityFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>.

T3

The type of the third InArgument<T> whose value is passed to the ActivityFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>.

T4

The type of the fourth InArgument<T> whose value is passed to the ActivityFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>.

T5

The type of the fifth InArgument<T> whose value is passed to the ActivityFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>.

T6

The type of the sixth InArgument<T> whose value is passed to the ActivityFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>.

T7

The type of the seventh InArgument<T> whose value is passed to the ActivityFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>.

T8

The type of the eighth InArgument<T> whose value is passed to the ActivityFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>.

TResult

The type of the return OutArgument<T> whose value is returned from the ActivityFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>.

The InvokeFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult> type exposes the following members.

  NameDescription
Public methodInvokeFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>Initializes a new instance of the InvokeFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult> class.
Top

  NameDescription
Public propertyArgument1Gets or sets the first argument passed to the ActivityFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>.
Public propertyArgument2Gets or sets the second argument passed to the ActivityFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>.
Public propertyArgument3Gets or sets the third argument passed to the ActivityFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>.
Public propertyArgument4Gets or sets the fourth argument passed to the ActivityFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>.
Public propertyArgument5Gets or sets the fifth argument passed to the ActivityFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>.
Public propertyArgument6Gets or sets the sixth argument passed to the ActivityFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>.
Public propertyArgument7Gets or sets the seventh argument passed to the ActivityFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>.
Public propertyArgument8Gets or sets the eighth argument passed to the ActivityFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult>.
Protected propertyCacheIdGets the identifier of the cache that is unique within the scope of the workflow definition. (Inherited from Activity.)
Protected propertyCanInduceIdleGets or sets a value that indicates whether the activity can cause the workflow to become idle. (Inherited from NativeActivity<TResult>.)
Protected propertyConstraintsGets a collection of Constraint activities that can be configured to provide validation for the Activity. (Inherited from Activity.)
Public propertyDisplayNameGets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking. (Inherited from Activity.)
Public propertyFuncGets or sets the ActivityFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult> to be invoked.
Public propertyIdGets an identifier that is unique in the scope of the workflow definition. (Inherited from Activity.)
Protected propertyImplementationThe execution logic of the activity. (Inherited from NativeActivity<TResult>.)
Public propertyResultGets or sets the result argument for the Activity<TResult>. (Inherited from Activity<TResult>.)
Public propertyResultTypeWhen implemented in a derived class, gets the type of an activity OutArgument. (Inherited from ActivityWithResult.)
Top

  NameDescription
Protected methodAbortWhen implemented in a derived class, takes actions in response to the activity being aborted. (Inherited from NativeActivity<TResult>.)
Protected methodCacheMetadata(ActivityMetadata)Not implemented. Use CacheMetadata(NativeActivityMetadata) instead. (Inherited from NativeActivity<TResult>.)
Protected methodCacheMetadata(NativeActivityMetadata)Creates and validates a description of the activity’s arguments, variables, child activities, and activity delegates. (Inherited from NativeActivity<TResult>.)
Protected methodCancelWhen implemented in a derived class, runs logic to cause graceful early completion of the activity. (Inherited from NativeActivity<TResult>.)
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodExecuteWhen implemented in a derived class, runs the activity’s execution logic. (Inherited from NativeActivity<TResult>.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodShouldSerializeDisplayNameIndicates whether the DisplayName property should be serialized. (Inherited from Activity.)
Public methodToStringReturns a String that contains the Id and DisplayName of the Activity. (Inherited from Activity.)
Top

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: