Editare

Partajați prin


WorkflowControlClient.BeginSuspend Method

Definition

Begins an asynchronous operation that suspends the specified operation.

Overloads

BeginSuspend(Guid, AsyncCallback, Object)

Begins an asynchronous operation that suspends the specified operation.

BeginSuspend(Guid, String, AsyncCallback, Object)

Begins an asynchronous operation that suspends the specified operation.

BeginSuspend(Guid, AsyncCallback, Object)

Begins an asynchronous operation that suspends the specified operation.

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

Parameters

instanceId
Guid

The workflow instance to suspend.

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 suspend operation.

Applies to

BeginSuspend(Guid, String, AsyncCallback, Object)

Begins an asynchronous operation that suspends the specified operation.

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

Parameters

instanceId
Guid

The workflow instance to suspend.

reason
String

The reason the workflow instance is suspended.

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 suspend operation.

Applies to