WorkflowControlClient コンストラクター

定義

WorkflowControlClient クラスの新しいインスタンスを初期化します。

オーバーロード

WorkflowControlClient()

WorkflowControlClient クラスの新しいインスタンスを初期化します。

WorkflowControlClient(WorkflowControlEndpoint)

WorkflowControlClient を指定して、WorkflowControlEndpoint クラスの新しいインスタンスを初期化します。

WorkflowControlClient(String)

指定したエンドポイント構成を使用して、WorkflowControlClient クラスの新しいインスタンスを初期化します。

WorkflowControlClient(Binding, EndpointAddress)

指定したバインドと WorkflowControlClientを使用して WorkflowControlEndpoint クラスの新しいインスタンスを初期化します。

WorkflowControlClient(String, EndpointAddress)

指定したエンドポイント構成と WorkflowControlClient を使用して EndpointAddress クラスの新しいインスタンスを初期化します。

WorkflowControlClient(String, String)

指定したエンドポイント構成とエンドポイント アドレスを使用して WorkflowControlClient クラスの新しいインスタンスを初期化します。

WorkflowControlClient()

WorkflowControlClient クラスの新しいインスタンスを初期化します。

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

適用対象

WorkflowControlClient(WorkflowControlEndpoint)

WorkflowControlClient を指定して、WorkflowControlEndpoint クラスの新しいインスタンスを初期化します。

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)

パラメーター

workflowEndpoint
WorkflowControlEndpoint

ワークフロー コントロール エンドポイント。

次の例では、このコンストラクターを使用して WorkflowControlClient インスタンスを作成する方法を示します。

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

適用対象

WorkflowControlClient(String)

指定したエンドポイント構成を使用して、WorkflowControlClient クラスの新しいインスタンスを初期化します。

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)

パラメーター

endpointConfigurationName
String

使用する構成。

次の例は、このコンストラクターを使用する方法を示しています。

WorkflowControlClient controlClient = new WorkflowControlClient("ConfigName");

適用対象

WorkflowControlClient(Binding, EndpointAddress)

指定したバインドと WorkflowControlClientを使用して 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)

パラメーター

binding
Binding

バインディング。

remoteAddress
EndpointAddress

ワークフロー コントロール エンドポイント。

次の例は、このコンストラクターを使用する方法を示しています。

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

適用対象

WorkflowControlClient(String, EndpointAddress)

指定したエンドポイント構成と WorkflowControlClient を使用して 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)

パラメーター

endpointConfigurationName
String

エンドポイント構成。

remoteAddress
EndpointAddress

エンドポイント アドレス。

次の例は、このコンストラクターを使用する方法を示しています。

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

適用対象

WorkflowControlClient(String, String)

指定したエンドポイント構成とエンドポイント アドレスを使用して WorkflowControlClient クラスの新しいインスタンスを初期化します。

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)

パラメーター

endpointConfigurationName
String

エンドポイント構成。

remoteAddress
String

エンドポイント アドレス。

次の例は、このコンストラクターを使用する方法を示しています。

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

適用対象