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

적용 대상