CompletionCallback<'TResult> Delegate

.NET Framework (current version)
 

The method that is called when an activity completes.

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

type CompletionCallback<'TResult> = 
    delegate of 
        context:NativeActivityContext *
        completedInstance:ActivityInstance *
        result:'TResult -> unit

Parameters

context
Type: System.Activities.NativeActivityContext

The execution environment of the activity.

completedInstance
Type: System.Activities.ActivityInstance

The activity that completed.

result
Type: TResult

The P:System.Activities.WorkflowElement`1.Result value of the activity that completed.

Type Parameters

TResult

The type of the result value.

.NET Framework
Available since 4.0
Return to top
Show: