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

適用対象