WorkflowControlClient.Unsuspend(Guid) Methode

Definition

Setzt die angegebene Workflowinstanz fort.

public:
 void Unsuspend(Guid instanceId);
public void Unsuspend (Guid instanceId);
member this.Unsuspend : Guid -> unit
Public Sub Unsuspend (instanceId As Guid)

Parameter

instanceId
Guid

Die fortzusetzende Workflowinstanz.

Beispiele

Im folgenden Beispiel wird gezeigt, wie mit der Unsuspend-Methode das Anhalten einer Workflowinstanz aufgehoben wird.

IWorkflowCreation creationClient = new ChannelFactory<IWorkflowCreation>(new BasicHttpBinding(), "http://localhost/DataflowControl.xaml/Creation").CreateChannel();

// Start a new instance of the workflow
Guid instanceId = creationClient.CreateSuspended(null);
WorkflowControlClient controlClient = new WorkflowControlClient(
    new BasicHttpBinding(),
    new EndpointAddress(new Uri("http://localhost/DataflowControl.xaml")));
controlClient.Unsuspend(instanceId);

Gilt für: