Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WorkflowControlClient::CancelAsync Method (Guid, Object^)

.NET Framework (current version)
 

Begins an asynchronous operation that cancels the specified workflow instance with the specified user-defined data.

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

public:
void CancelAsync(
	Guid instanceId,
	Object^ userState
)

Parameters

instanceId
Type: System::Guid

The workflow instance to cancel.

userState
Type: System::Object^

The user-defined data.

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