WorkflowControlClient.Unsuspend(Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Unsuspends the specified workflow instance.
public:
void Unsuspend(Guid instanceId);
public void Unsuspend (Guid instanceId);
member this.Unsuspend : Guid -> unit
Public Sub Unsuspend (instanceId As Guid)
Parameters
- instanceId
- Guid
The workflow instance to unsuspend.
Examples
The following example shows how to unsuspend a workflow instance using the Unsuspend method.
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);
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.