Cancel Method
Collapse the table of content
Expand the table of content

AsyncCodeActivity.Cancel Method (AsyncCodeActivityContext)

.NET Framework (current version)
 

When implemented in a derived class and using the specified execution environment information, notifies the workflow runtime that the asynchronous activity operation has reached an early completion. Serves as a virtual method.

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

protected virtual void Cancel(
	AsyncCodeActivityContext context
)

Parameters

context
Type: System.Activities.AsyncCodeActivityContext

Information that defines the execution environment for the AsyncCodeActivity.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft