編輯

共用方式為


WorkflowControlClient.BeginAbandon Method

Definition

Begins an asynchronous operation that abandons the specified workflow instance.

Overloads

BeginAbandon(Guid, AsyncCallback, Object)

Begins an asynchronous operation that abandons the specified workflow instance.

BeginAbandon(Guid, String, AsyncCallback, Object)

Begins an asynchronous operation that abandons the specified workflow instance.

BeginAbandon(Guid, AsyncCallback, Object)

Begins an asynchronous operation that abandons the specified workflow instance.

public:
 IAsyncResult ^ BeginAbandon(Guid instanceId, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginAbandon (Guid instanceId, AsyncCallback callback, object state);
member this.BeginAbandon : Guid * AsyncCallback * obj -> IAsyncResult
Public Function BeginAbandon (instanceId As Guid, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

instanceId
Guid

The workflow instance to abandon.

callback
AsyncCallback

The asynchronous callback delegate that receives the notification of the asynchronous operation completion.

state
Object

The user-defined state data.

Returns

The asynchronous abandon operation.

Applies to

BeginAbandon(Guid, String, AsyncCallback, Object)

Begins an asynchronous operation that abandons the specified workflow instance.

public:
 IAsyncResult ^ BeginAbandon(Guid instanceId, System::String ^ reason, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginAbandon (Guid instanceId, string reason, AsyncCallback callback, object state);
member this.BeginAbandon : Guid * string * AsyncCallback * obj -> IAsyncResult
Public Function BeginAbandon (instanceId As Guid, reason As String, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

instanceId
Guid

The workflow instance to abandon.

reason
String

The reason to abandon the workflow instance.

callback
AsyncCallback

The asynchronous callback delegate that receives the notification of the asynchronous operation completion.

state
Object

The user-defined state data.

Returns

The asynchronous abandon operation.

Applies to