The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
WorkflowControlClient Constructor (Binding^, EndpointAddress^)
.NET Framework (current version)
Initializes a new instance of the WorkflowControlClient class with the specified binding, and WorkflowControlEndpoint.
Assembly: System.ServiceModel.Activities (in System.ServiceModel.Activities.dll)
Parameters
- binding
-
Type:
System.ServiceModel.Channels::Binding^
The binding.
- remoteAddress
-
Type:
System.ServiceModel::EndpointAddress^
The workflow control endpoint.
The following example shows how to use this constructor.
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);
.NET Framework
Available since 4.0
Available since 4.0
Show: