Sdílet prostřednictvím


WorkflowControlClient Konstruktory

Definice

Inicializuje novou instanci WorkflowControlClient třídy .

Přetížení

WorkflowControlClient()

Inicializuje novou instanci WorkflowControlClient třídy .

WorkflowControlClient(WorkflowControlEndpoint)

Inicializuje novou instanci WorkflowControlClient třídy se zadaným WorkflowControlEndpointparametrem .

WorkflowControlClient(String)

Inicializuje novou instanci WorkflowControlClient třídy se zadanou konfigurací koncového bodu.

WorkflowControlClient(Binding, EndpointAddress)

Inicializuje novou instanci WorkflowControlClient třídy se zadanou vazbou a WorkflowControlEndpoint.

WorkflowControlClient(String, EndpointAddress)

Inicializuje novou instanci WorkflowControlClient třídy se zadanou konfigurací koncového bodu a EndpointAddress.

WorkflowControlClient(String, String)

Inicializuje novou instanci WorkflowControlClient třídy se zadanou konfigurací koncového bodu a adresou koncového bodu.

WorkflowControlClient()

Inicializuje novou instanci WorkflowControlClient třídy .

public:
 WorkflowControlClient();
public WorkflowControlClient ();
Public Sub New ()

Platí pro

WorkflowControlClient(WorkflowControlEndpoint)

Inicializuje novou instanci WorkflowControlClient třídy se zadaným WorkflowControlEndpointparametrem .

public:
 WorkflowControlClient(System::ServiceModel::Activities::WorkflowControlEndpoint ^ workflowEndpoint);
public WorkflowControlClient (System.ServiceModel.Activities.WorkflowControlEndpoint workflowEndpoint);
new System.ServiceModel.Activities.WorkflowControlClient : System.ServiceModel.Activities.WorkflowControlEndpoint -> System.ServiceModel.Activities.WorkflowControlClient
Public Sub New (workflowEndpoint As WorkflowControlEndpoint)

Parametry

workflowEndpoint
WorkflowControlEndpoint

Koncový bod ovládacího prvku pracovního postupu.

Příklady

Následující příklad ukazuje, jak vytvořit WorkflowControlClient instanci pomocí tohoto konstruktoru.

WorkflowControlEndpoint wce = new WorkflowControlEndpoint(new BasicHttpBinding(), new EndpointAddress(new Uri("http://localhost/DataflowControl.xaml")));
WorkflowControlClient controlClient = new WorkflowControlClient(wce);

Platí pro

WorkflowControlClient(String)

Inicializuje novou instanci WorkflowControlClient třídy se zadanou konfigurací koncového bodu.

public:
 WorkflowControlClient(System::String ^ endpointConfigurationName);
public WorkflowControlClient (string endpointConfigurationName);
new System.ServiceModel.Activities.WorkflowControlClient : string -> System.ServiceModel.Activities.WorkflowControlClient
Public Sub New (endpointConfigurationName As String)

Parametry

endpointConfigurationName
String

Konfigurace, která se má použít.

Příklady

Následující příklad ukazuje použití tohoto konstruktoru.

WorkflowControlClient controlClient = new WorkflowControlClient("ConfigName");

Platí pro

WorkflowControlClient(Binding, EndpointAddress)

Inicializuje novou instanci WorkflowControlClient třídy se zadanou vazbou a WorkflowControlEndpoint.

public:
 WorkflowControlClient(System::ServiceModel::Channels::Binding ^ binding, System::ServiceModel::EndpointAddress ^ remoteAddress);
public WorkflowControlClient (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress);
new System.ServiceModel.Activities.WorkflowControlClient : System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress -> System.ServiceModel.Activities.WorkflowControlClient
Public Sub New (binding As Binding, remoteAddress As EndpointAddress)

Parametry

binding
Binding

Vazba.

remoteAddress
EndpointAddress

Koncový bod ovládacího prvku pracovního postupu.

Příklady

Následující příklad ukazuje použití tohoto konstruktoru.

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

Platí pro

WorkflowControlClient(String, EndpointAddress)

Inicializuje novou instanci WorkflowControlClient třídy se zadanou konfigurací koncového bodu a EndpointAddress.

public:
 WorkflowControlClient(System::String ^ endpointConfigurationName, System::ServiceModel::EndpointAddress ^ remoteAddress);
public WorkflowControlClient (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress);
new System.ServiceModel.Activities.WorkflowControlClient : string * System.ServiceModel.EndpointAddress -> System.ServiceModel.Activities.WorkflowControlClient
Public Sub New (endpointConfigurationName As String, remoteAddress As EndpointAddress)

Parametry

endpointConfigurationName
String

Konfigurace koncového bodu.

remoteAddress
EndpointAddress

Adresa koncového bodu.

Příklady

Následující příklad ukazuje použití tohoto konstruktoru.

WorkflowControlClient controlClient = new WorkflowControlClient("ConfigName", new EndpointAddress(new Uri("http://localhost/DataflowControl.xaml")));

Platí pro

WorkflowControlClient(String, String)

Inicializuje novou instanci WorkflowControlClient třídy se zadanou konfigurací koncového bodu a adresou koncového bodu.

public:
 WorkflowControlClient(System::String ^ endpointConfigurationName, System::String ^ remoteAddress);
public WorkflowControlClient (string endpointConfigurationName, string remoteAddress);
new System.ServiceModel.Activities.WorkflowControlClient : string * string -> System.ServiceModel.Activities.WorkflowControlClient
Public Sub New (endpointConfigurationName As String, remoteAddress As String)

Parametry

endpointConfigurationName
String

Konfigurace koncového bodu.

remoteAddress
String

Adresa koncového bodu.

Příklady

Následující příklad ukazuje použití tohoto konstruktoru.

WorkflowControlClient controlClient = new WorkflowControlClient("ConfigName", "http://localhost/DataflowControl.xaml");

Platí pro