AsyncCodeActivity<TResult>.EndExecute Method (AsyncCodeActivityContext, IAsyncResult)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

When implemented in a derived class and using the specified execution environment information, notifies the workflow runtime that the associated asynchronous activity operation has completed.

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

protected abstract TResult EndExecute(
	AsyncCodeActivityContext context,
	IAsyncResult result
)

Parameters

context
Type: System.Activities.AsyncCodeActivityContext

Information that defines the execution environment for the AsyncCodeActivity.

result
Type: System.IAsyncResult

The implemented IAsyncResult that returns the status of an asynchronous activity when execution ends.

Return Value

Type: TResult

A generic type.

.NET Framework
Available since 4.0
Return to top
Show: