WorkflowControlClient.Unsuspend(Guid) メソッド

定義

指定したワークフロー インスタンスをアンスペンドします。

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

パラメーター

instanceId
Guid

一時削除を解除するワークフロー インスタンス。

次の例は、 Unsuspend メソッドを使用してワークフロー インスタンスの一時削除を解除する方法を示しています。

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);

適用対象