WorkflowCreationContext.OnEndWorkflowCompleted Method (IAsyncResult)

.NET Framework (current version)
 

Completes an asynchronous operation that notifies workflow instance completion associated with this WorkflowCreationContext.

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

protected internal virtual void OnEndWorkflowCompleted(
	IAsyncResult result
)

Parameters

result
Type: System.IAsyncResult

The status of the asynchronous operation.

The following example shows a simple implementation of the OnEndWorkflowCompleted method. Notice that the base class OnAbort method is called.

protected override void OnAbort()
{
    Console.WriteLine("InstanceId :" + InstanceId + " OnBeginWorkflowAborted");
    base.OnAbort();
}

.NET Framework
Available since 4.0
Return to top
Show: