Edit

Bagikan melalui


WorkflowUpdateableControlClient.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

A user-defined object that contains state information associated with the asynchronous suspend operation.

Returns

The IAsyncResult object that represents the status of the asynchronous 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 to suspend the workflow instance.

callback
AsyncCallback

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

state
Object

A user-defined object that contains state information associated with the asynchronous suspend operation.

Returns

The IAsyncResult object that represents the status of the asynchronous operation.

Applies to