IWorkflowInstanceManagement.BeginSuspend Methode

Definition

Startet einen asynchronen Vorgang, um die angegebene Workflowinstanz anzusetzen.

public:
 IAsyncResult ^ BeginSuspend(Guid instanceId, System::String ^ reason, AsyncCallback ^ callback, System::Object ^ state);
[System.ServiceModel.OperationContract(AsyncPattern=true, Name="Suspend")]
public IAsyncResult BeginSuspend(Guid instanceId, string reason, AsyncCallback callback, object state);
[<System.ServiceModel.OperationContract(AsyncPattern=true, Name="Suspend")>]
abstract member BeginSuspend : Guid * string * AsyncCallback * obj -> IAsyncResult
Public Function BeginSuspend (instanceId As Guid, reason As String, callback As AsyncCallback, state As Object) As IAsyncResult

Parameter

instanceId
Guid

Der GUID-Bezeichner der Workflowinstanz, die angehalten werden soll.

reason
String

Der Grund zum Anhalten der Workflowinstanz.

callback
AsyncCallback

Der asynchrone Rückrufdelegat, der die Benachrichtigung über den Abschluss des asynchronen Vorgangs empfängt.

state
Object

Ein von der Anwendung angegebenes Objekt, das Statusinformationen enthält, die dem asynchronen Anhaltevorgang zugeordnet sind.

Gibt zurück

Die IAsyncResult.

Attribute

Hinweise

Der Anhaltevorgang hält vorübergehend eine Workflowinstanz an.

Gilt für: