IWorkflowInstanceManagement.BeginTransactedSuspend Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Begins an asynchronous operation that suspends the specified workflow instance.
public:
IAsyncResult ^ BeginTransactedSuspend(Guid instanceId, System::String ^ reason, AsyncCallback ^ callback, System::Object ^ state);
[System.ServiceModel.OperationContract(AsyncPattern=true, Name="TransactedSuspend")]
public IAsyncResult BeginTransactedSuspend (Guid instanceId, string reason, AsyncCallback callback, object state);
[<System.ServiceModel.OperationContract(AsyncPattern=true, Name="TransactedSuspend")>]
abstract member BeginTransactedSuspend : Guid * string * AsyncCallback * obj -> IAsyncResult
Public Function BeginTransactedSuspend (instanceId As Guid, reason As String, callback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- instanceId
- Guid
The GUID identifier of 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
An object, specified by the application, that contains state information associated with the asynchronous suspend operation.
Returns
The IAsyncResult.
- Attributes
Remarks
The suspend process temporarily halts a workflow instance.