Language

DuplexChannelFactory<TChannel> コンストラクター

定義

DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

オーバーロード

Name 説明
DuplexChannelFactory<TChannel>(Object)

コールバック コントラクトを実装するオブジェクトを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

DuplexChannelFactory<TChannel>(Type, String, EndpointAddress)

指定した種類のコールバック インスタンス、構成、およびリモート アドレスを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

DuplexChannelFactory<TChannel>(Type, ServiceEndpoint)

指定した種類のコールバック インスタンスとサービス エンドポイントを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

DuplexChannelFactory<TChannel>(Type, Binding, String)

指定した種類のコールバック インスタンス、バインド、およびリモート アドレスを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

DuplexChannelFactory<TChannel>(Type, Binding, EndpointAddress)

指定した種類のコールバック インスタンス、バインディング、およびリモート アドレスを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

DuplexChannelFactory<TChannel>(InstanceContext, String, EndpointAddress)

コールバック コントラクトと指定した構成とエンドポイント アドレスを実装するオブジェクトを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

DuplexChannelFactory<TChannel>(InstanceContext, Binding, EndpointAddress)

コールバック コントラクトを実装するオブジェクトと、指定したバインディングとエンドポイント アドレスを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

DuplexChannelFactory<TChannel>(Object, String, EndpointAddress)

コールバック コントラクトを実装するオブジェクトと、指定した構成とエンドポイント アドレスを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

DuplexChannelFactory<TChannel>(Object, Binding, String)

指定したコールバック オブジェクト、バインディング、およびリモート アドレスを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

DuplexChannelFactory<TChannel>(Object, Binding, EndpointAddress)

コールバック コントラクトを実装するオブジェクトと、指定したバインディングとエンドポイント アドレスを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

DuplexChannelFactory<TChannel>(InstanceContext, Binding, String)

指定したインスタンス コンテキスト、バインディング、およびリモート アドレスを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

DuplexChannelFactory<TChannel>(Type, Binding)

指定した型のコールバック インスタンスとバインドを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

DuplexChannelFactory<TChannel>(Type, String)

指定した型のコールバック インスタンスと構成を使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

DuplexChannelFactory<TChannel>(Type)

指定した型のコールバック インスタンスを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

DuplexChannelFactory<TChannel>(Object, Binding)

コールバック コントラクトと指定したバインディングを実装するオブジェクトを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

DuplexChannelFactory<TChannel>(Object, ServiceEndpoint)

コールバック コントラクトと指定したエンドポイントを実装するオブジェクトを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

DuplexChannelFactory<TChannel>(InstanceContext)

指定したインスタンス コンテキストを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

DuplexChannelFactory<TChannel>(InstanceContext, Binding)

コールバック コントラクトと指定したバインディングを実装するコンテキストを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

DuplexChannelFactory<TChannel>(InstanceContext, ServiceEndpoint)

コールバック コントラクトと指定したエンドポイントを実装するオブジェクトを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

DuplexChannelFactory<TChannel>(InstanceContext, String)

コールバック コントラクトと指定した構成を実装するオブジェクトを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

DuplexChannelFactory<TChannel>(Object, String)

コールバック コントラクトと指定した構成を実装するオブジェクトを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

DuplexChannelFactory<TChannel>(Object)

ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs

コールバック コントラクトを実装するオブジェクトを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

public:
 DuplexChannelFactory(System::Object ^ callbackObject);
public DuplexChannelFactory(object callbackObject);
new System.ServiceModel.DuplexChannelFactory<'Channel> : obj -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackObject As Object)

パラメーター

callbackObject
Object

接続されたサービスからのメッセージをリッスンするためにクライアントが使用する Object 。

例外

callbackObject が null です。

注釈

このコンストラクターを使用して、アプリケーション構成ファイルを使用するのではなく、ターゲット サービスのコールバック コントラクトを実装するオブジェクトをプログラムで渡します。

適用対象

DuplexChannelFactory<TChannel>(Type, String, EndpointAddress)

指定した種類のコールバック インスタンス、構成、およびリモート アドレスを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

public:
 DuplexChannelFactory(Type ^ callbackInstanceType, System::String ^ endpointConfigurationName, System::ServiceModel::EndpointAddress ^ remoteAddress);
public DuplexChannelFactory(Type callbackInstanceType, string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress);
new System.ServiceModel.DuplexChannelFactory<'Channel> : Type * string * System.ServiceModel.EndpointAddress -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstanceType As Type, endpointConfigurationName As String, remoteAddress As EndpointAddress)

パラメーター

callbackInstanceType
Type

接続されたサービスからのメッセージをリッスンするためにクライアントが使用するコールバック インスタンスを提供する Type 。

endpointConfigurationName
String

エンドポイント構成に使用される名前。

remoteAddress
EndpointAddress

サービスの場所を提供する EndpointAddress 。

例外

callbackInstanceType または endpointConfigurationName または remoteAddress が null。

適用対象

DuplexChannelFactory<TChannel>(Type, ServiceEndpoint)

ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs

指定した種類のコールバック インスタンスとサービス エンドポイントを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

public:
 DuplexChannelFactory(Type ^ callbackInstanceType, System::ServiceModel::Description::ServiceEndpoint ^ serviceEndpoint);
public:
 DuplexChannelFactory(Type ^ callbackInstanceType, System::ServiceModel::Description::ServiceEndpoint ^ endpoint);
public DuplexChannelFactory(Type callbackInstanceType, System.ServiceModel.Description.ServiceEndpoint serviceEndpoint);
public DuplexChannelFactory(Type callbackInstanceType, System.ServiceModel.Description.ServiceEndpoint endpoint);
new System.ServiceModel.DuplexChannelFactory<'Channel> : Type * System.ServiceModel.Description.ServiceEndpoint -> System.ServiceModel.DuplexChannelFactory<'Channel>
new System.ServiceModel.DuplexChannelFactory<'Channel> : Type * System.ServiceModel.Description.ServiceEndpoint -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstanceType As Type, serviceEndpoint As ServiceEndpoint)
Public Sub New (callbackInstanceType As Type, endpoint As ServiceEndpoint)

パラメーター

callbackInstanceType
Type

接続されたサービスからのメッセージをリッスンするためにクライアントが使用するコールバック インスタンスを提供する Type 。

serviceEndpointendpoint
ServiceEndpoint

例外

callbackInstanceType が null です。

適用対象

DuplexChannelFactory<TChannel>(Type, Binding, String)

ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs

指定した種類のコールバック インスタンス、バインド、およびリモート アドレスを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

public:
 DuplexChannelFactory(Type ^ callbackInstanceType, System::ServiceModel::Channels::Binding ^ binding, System::String ^ remoteAddress);
public DuplexChannelFactory(Type callbackInstanceType, System.ServiceModel.Channels.Binding binding, string remoteAddress);
new System.ServiceModel.DuplexChannelFactory<'Channel> : Type * System.ServiceModel.Channels.Binding * string -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstanceType As Type, binding As Binding, remoteAddress As String)

パラメーター

callbackInstanceType
Type

接続されたサービスからのメッセージをリッスンするためにクライアントが使用するコールバック インスタンスを提供する Type 。

binding
Binding

Bindingファクトリによって生成されたチャネルによってサービスに接続するために使用されます。

remoteAddress
String

サービスの場所を提供するリモート アドレス。

例外

callbackInstanceType または binding または remoteAddress が null。

適用対象

DuplexChannelFactory<TChannel>(Type, Binding, EndpointAddress)

ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs

指定した種類のコールバック インスタンス、バインディング、およびリモート アドレスを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

public:
 DuplexChannelFactory(Type ^ callbackInstanceType, System::ServiceModel::Channels::Binding ^ binding, System::ServiceModel::EndpointAddress ^ remoteAddress);
public DuplexChannelFactory(Type callbackInstanceType, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress);
new System.ServiceModel.DuplexChannelFactory<'Channel> : Type * System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstanceType As Type, binding As Binding, remoteAddress As EndpointAddress)

パラメーター

callbackInstanceType
Type

接続されたサービスからのメッセージをリッスンするためにクライアントが使用するコールバック インスタンスを提供する Type 。

binding
Binding

Bindingファクトリによって生成されたチャネルによってサービスに接続するために使用されます。

remoteAddress
EndpointAddress

サービスの場所を提供する EndpointAddress 。

例外

callbackInstanceType または binding または remoteAddress が null。

適用対象

DuplexChannelFactory<TChannel>(InstanceContext, String, EndpointAddress)

コールバック コントラクトと指定した構成とエンドポイント アドレスを実装するオブジェクトを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

public:
 DuplexChannelFactory(System::ServiceModel::InstanceContext ^ callbackInstance, System::String ^ endpointConfigurationName, System::ServiceModel::EndpointAddress ^ remoteAddress);
public DuplexChannelFactory(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress);
new System.ServiceModel.DuplexChannelFactory<'Channel> : System.ServiceModel.InstanceContext * string * System.ServiceModel.EndpointAddress -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstance As InstanceContext, endpointConfigurationName As String, remoteAddress As EndpointAddress)

パラメーター

callbackInstance
InstanceContext

接続されたサービスからのメッセージをリッスンするためにクライアントが使用する InstanceContext 。

endpointConfigurationName
String

エンドポイント構成に使用される名前。

remoteAddress
EndpointAddress

サービスの場所を提供する EndpointAddress 。

例外

callbackInstance または endpointConfigurationName または remoteAddress が null。

注釈

このコンストラクターを使用して、ターゲット サービス のアドレス情報のコールバック コントラクトをプログラムで実装するインスタンス コンテキスト オブジェクトを渡し、プログラムでアドレス情報を渡し、クライアント アプリケーション構成ファイルから残りのターゲット エンドポイント情報を決定します。

適用対象

DuplexChannelFactory<TChannel>(InstanceContext, Binding, EndpointAddress)

ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs

コールバック コントラクトを実装するオブジェクトと、指定したバインディングとエンドポイント アドレスを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

public:
 DuplexChannelFactory(System::ServiceModel::InstanceContext ^ callbackInstance, System::ServiceModel::Channels::Binding ^ binding, System::ServiceModel::EndpointAddress ^ remoteAddress);
public DuplexChannelFactory(System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress);
new System.ServiceModel.DuplexChannelFactory<'Channel> : System.ServiceModel.InstanceContext * System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstance As InstanceContext, binding As Binding, remoteAddress As EndpointAddress)

パラメーター

callbackInstance
InstanceContext

接続されたサービスからのメッセージをリッスンするためにクライアントが使用する InstanceContext 。

binding
Binding

Bindingファクトリによって生成されたチャネルによってサービスに接続するために使用されます。

remoteAddress
EndpointAddress

サービスの場所を提供する EndpointAddress 。

例外

callbackInstance または binding または remoteAddress が null。

注釈

このコンストラクターを使用して、ターゲット サービスのコールバック コントラクトを実装するインスタンス コンテキスト オブジェクトを渡し、アプリケーション構成ファイルを使用するのではなく、バインディングとアドレス情報をプログラムで渡します。

適用対象

DuplexChannelFactory<TChannel>(Object, String, EndpointAddress)

コールバック コントラクトを実装するオブジェクトと、指定した構成とエンドポイント アドレスを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

public:
 DuplexChannelFactory(System::Object ^ callbackObject, System::String ^ endpointConfigurationName, System::ServiceModel::EndpointAddress ^ remoteAddress);
public DuplexChannelFactory(object callbackObject, string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress);
new System.ServiceModel.DuplexChannelFactory<'Channel> : obj * string * System.ServiceModel.EndpointAddress -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackObject As Object, endpointConfigurationName As String, remoteAddress As EndpointAddress)

パラメーター

callbackObject
Object

接続されたサービスからのメッセージをリッスンするためにクライアントが使用する Object 。

endpointConfigurationName
String

エンドポイント構成に使用される名前。

remoteAddress
EndpointAddress

サービスの場所を提供する EndpointAddress 。

例外

callbackObject または endpointConfigurationName または remoteAddress が null。

注釈

このコンストラクターを使用して、ターゲット サービスのコールバック コントラクトを実装するサービス オブジェクトを渡し、プログラムでアドレス情報を渡し、クライアント アプリケーション構成ファイルから残りのターゲット エンドポイント情報を決定します。

適用対象

DuplexChannelFactory<TChannel>(Object, Binding, String)

ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs

指定したコールバック オブジェクト、バインディング、およびリモート アドレスを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

public:
 DuplexChannelFactory(System::Object ^ callbackObject, System::ServiceModel::Channels::Binding ^ binding, System::String ^ remoteAddress);
public DuplexChannelFactory(object callbackObject, System.ServiceModel.Channels.Binding binding, string remoteAddress);
new System.ServiceModel.DuplexChannelFactory<'Channel> : obj * System.ServiceModel.Channels.Binding * string -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackObject As Object, binding As Binding, remoteAddress As String)

パラメーター

callbackObject
Object

接続されたサービスからのメッセージをリッスンするためにクライアントが使用する Object 。

binding
Binding

Bindingファクトリによって生成されたチャネルによってサービスに接続するために使用されます。

remoteAddress
String

サービスの場所を提供するリモート アドレス。

例外

callbackObject または binding または remoteAddress が null。

適用対象

DuplexChannelFactory<TChannel>(Object, Binding, EndpointAddress)

ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs

コールバック コントラクトを実装するオブジェクトと、指定したバインディングとエンドポイント アドレスを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

public:
 DuplexChannelFactory(System::Object ^ callbackObject, System::ServiceModel::Channels::Binding ^ binding, System::ServiceModel::EndpointAddress ^ remoteAddress);
public DuplexChannelFactory(object callbackObject, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress);
new System.ServiceModel.DuplexChannelFactory<'Channel> : obj * System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackObject As Object, binding As Binding, remoteAddress As EndpointAddress)

パラメーター

callbackObject
Object

接続されたサービスからのメッセージをリッスンするためにクライアントが使用する Object 。

binding
Binding

Bindingファクトリによって生成されたチャネルによってサービスに接続するために使用されます。

remoteAddress
EndpointAddress

サービスの場所を提供する EndpointAddress 。

例外

callbackObject または binding または remoteAddress が null。

注釈

このコンストラクターを使用して、ターゲット サービスのコールバック コントラクトを実装するサービス オブジェクトを渡し、アプリケーション構成ファイルを使用するのではなく、バインディングとアドレス情報をプログラムで渡します。

適用対象

DuplexChannelFactory<TChannel>(InstanceContext, Binding, String)

ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs

指定したインスタンス コンテキスト、バインディング、およびリモート アドレスを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

public:
 DuplexChannelFactory(System::ServiceModel::InstanceContext ^ callbackInstance, System::ServiceModel::Channels::Binding ^ binding, System::String ^ remoteAddress);
public DuplexChannelFactory(System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.Channels.Binding binding, string remoteAddress);
new System.ServiceModel.DuplexChannelFactory<'Channel> : System.ServiceModel.InstanceContext * System.ServiceModel.Channels.Binding * string -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstance As InstanceContext, binding As Binding, remoteAddress As String)

パラメーター

callbackInstance
InstanceContext

接続されたサービスからのメッセージをリッスンするためにクライアントが使用する InstanceContext 。

binding
Binding

Bindingファクトリによって生成されたチャネルによってサービスに接続するために使用されます。

remoteAddress
String

サービスの場所を提供するリモート アドレス。

例外

callbackInstance または binding または remoteAddress が null。

適用対象

DuplexChannelFactory<TChannel>(Type, Binding)

ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs

指定した型のコールバック インスタンスとバインドを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

public:
 DuplexChannelFactory(Type ^ callbackInstanceType, System::ServiceModel::Channels::Binding ^ binding);
public DuplexChannelFactory(Type callbackInstanceType, System.ServiceModel.Channels.Binding binding);
new System.ServiceModel.DuplexChannelFactory<'Channel> : Type * System.ServiceModel.Channels.Binding -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstanceType As Type, binding As Binding)

パラメーター

callbackInstanceType
Type

接続されたサービスからのメッセージをリッスンするためにクライアントが使用するコールバック インスタンスを提供する Type 。

binding
Binding

Bindingファクトリによって生成されたチャネルによってサービスに接続するために使用されます。

例外

callbackInstanceType または binding が null。

適用対象

DuplexChannelFactory<TChannel>(Type, String)

指定した型のコールバック インスタンスと構成を使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

public:
 DuplexChannelFactory(Type ^ callbackInstanceType, System::String ^ endpointConfigurationName);
public DuplexChannelFactory(Type callbackInstanceType, string endpointConfigurationName);
new System.ServiceModel.DuplexChannelFactory<'Channel> : Type * string -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstanceType As Type, endpointConfigurationName As String)

パラメーター

callbackInstanceType
Type

接続されたサービスからのメッセージをリッスンするためにクライアントが使用するコールバック インスタンスを提供する Type 。

endpointConfigurationName
String

エンドポイント構成に使用される名前。

例外

callbackInstanceType または endpointConfigurationName が null。

適用対象

DuplexChannelFactory<TChannel>(Type)

ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs

指定した型のコールバック インスタンスを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

public:
 DuplexChannelFactory(Type ^ callbackInstanceType);
public DuplexChannelFactory(Type callbackInstanceType);
new System.ServiceModel.DuplexChannelFactory<'Channel> : Type -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstanceType As Type)

パラメーター

callbackInstanceType
Type

接続されたサービスからのメッセージをリッスンするためにクライアントが使用するコールバック インスタンスを提供する Type 。

例外

callbackInstanceType が null です。

適用対象

DuplexChannelFactory<TChannel>(Object, Binding)

ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs

コールバック コントラクトと指定したバインディングを実装するオブジェクトを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

public:
 DuplexChannelFactory(System::Object ^ callbackObject, System::ServiceModel::Channels::Binding ^ binding);
public DuplexChannelFactory(object callbackObject, System.ServiceModel.Channels.Binding binding);
new System.ServiceModel.DuplexChannelFactory<'Channel> : obj * System.ServiceModel.Channels.Binding -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackObject As Object, binding As Binding)

パラメーター

callbackObject
Object

接続されたサービスからのメッセージをリッスンするためにクライアントが使用する Object 。

binding
Binding

Bindingファクトリによって生成されたチャネルによってサービスに接続するために使用されます。

例外

callbackObject または binding が null。

注釈

このコンストラクターを使用して、ターゲット サービスのコールバック コントラクトを実装するインスタンス コンテキスト オブジェクトを渡し、アプリケーション構成ファイルを使用するのではなく、プログラムでバインディング情報を渡します。

適用対象

DuplexChannelFactory<TChannel>(Object, ServiceEndpoint)

ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs

コールバック コントラクトと指定したエンドポイントを実装するオブジェクトを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

public:
 DuplexChannelFactory(System::Object ^ callbackObject, System::ServiceModel::Description::ServiceEndpoint ^ endpoint);
public DuplexChannelFactory(object callbackObject, System.ServiceModel.Description.ServiceEndpoint endpoint);
new System.ServiceModel.DuplexChannelFactory<'Channel> : obj * System.ServiceModel.Description.ServiceEndpoint -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackObject As Object, endpoint As ServiceEndpoint)

パラメーター

callbackObject
Object

接続されたサービスからのメッセージをリッスンするためにクライアントが使用する Object 。

endpoint
ServiceEndpoint

ファクトリによって生成されたチャネルが接続する ServiceEndpoint 。

例外

callbackObject が null です。

注釈

このコンストラクターを使用して、ターゲット サービスのコールバック コントラクトを実装するサービス オブジェクトを渡し、アプリケーション構成ファイルを使用するのではなく、プログラムでサービス エンドポイント情報を渡します。

適用対象

DuplexChannelFactory<TChannel>(InstanceContext)

ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs

指定したインスタンス コンテキストを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

public:
 DuplexChannelFactory(System::ServiceModel::InstanceContext ^ callbackInstance);
public DuplexChannelFactory(System.ServiceModel.InstanceContext callbackInstance);
new System.ServiceModel.DuplexChannelFactory<'Channel> : System.ServiceModel.InstanceContext -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstance As InstanceContext)

パラメーター

callbackInstance
InstanceContext

接続されたサービスからのメッセージをリッスンするためにクライアントが使用する InstanceContext 。

例外

callbackInstance が null です。

適用対象

DuplexChannelFactory<TChannel>(InstanceContext, Binding)

ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs

コールバック コントラクトと指定したバインディングを実装するコンテキストを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

public:
 DuplexChannelFactory(System::ServiceModel::InstanceContext ^ callbackInstance, System::ServiceModel::Channels::Binding ^ binding);
public DuplexChannelFactory(System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.Channels.Binding binding);
new System.ServiceModel.DuplexChannelFactory<'Channel> : System.ServiceModel.InstanceContext * System.ServiceModel.Channels.Binding -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstance As InstanceContext, binding As Binding)

パラメーター

callbackInstance
InstanceContext

接続されたサービスからのメッセージをリッスンするためにクライアントが使用する InstanceContext 。

binding
Binding

Bindingファクトリによって生成されたチャネルによってサービスに接続するために使用されます。

例外

callbackInstance または binding が null。

注釈

このコンストラクターを使用して、ターゲット サービスのコールバック コントラクトを実装するインスタンス コンテキスト オブジェクトを渡し、アプリケーション構成ファイルを使用するのではなく、プログラムでバインディング情報を渡します。

適用対象

DuplexChannelFactory<TChannel>(InstanceContext, ServiceEndpoint)

ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs
ソース:
DuplexChannelFactory.cs

コールバック コントラクトと指定したエンドポイントを実装するオブジェクトを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

public:
 DuplexChannelFactory(System::ServiceModel::InstanceContext ^ callbackInstance, System::ServiceModel::Description::ServiceEndpoint ^ endpoint);
public DuplexChannelFactory(System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.Description.ServiceEndpoint endpoint);
new System.ServiceModel.DuplexChannelFactory<'Channel> : System.ServiceModel.InstanceContext * System.ServiceModel.Description.ServiceEndpoint -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstance As InstanceContext, endpoint As ServiceEndpoint)

パラメーター

callbackInstance
InstanceContext

接続されたサービスからのメッセージをリッスンするためにクライアントが使用する InstanceContext 。

endpoint
ServiceEndpoint

ファクトリによって生成されたチャネルが接続する ServiceEndpoint 。

例外

callbackInstance が null です。

注釈

このコンストラクターを使用して、ターゲット サービスのコールバック コントラクトを実装するインスタンス コンテキスト オブジェクトを渡し、アプリケーション構成ファイルを使用するのではなく、プログラムでエンドポイント情報を渡します。

適用対象

DuplexChannelFactory<TChannel>(InstanceContext, String)

コールバック コントラクトと指定した構成を実装するオブジェクトを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

public:
 DuplexChannelFactory(System::ServiceModel::InstanceContext ^ callbackInstance, System::String ^ endpointConfigurationName);
public DuplexChannelFactory(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName);
new System.ServiceModel.DuplexChannelFactory<'Channel> : System.ServiceModel.InstanceContext * string -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackInstance As InstanceContext, endpointConfigurationName As String)

パラメーター

callbackInstance
InstanceContext

接続されたサービスからのメッセージをリッスンするためにクライアントが使用する InstanceContext 。

endpointConfigurationName
String

エンドポイント構成に使用される名前。

例外

callbackInstance または endpointConfigurationName が null。

注釈

このコンストラクターを使用して、ターゲット サービスのコールバック コントラクトを実装するインスタンス コンテキスト オブジェクトを渡し、クライアント アプリケーション構成ファイルからターゲット エンドポイント情報を決定します。

適用対象

DuplexChannelFactory<TChannel>(Object, String)

コールバック コントラクトと指定した構成を実装するオブジェクトを使用して、 DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。

public:
 DuplexChannelFactory(System::Object ^ callbackObject, System::String ^ endpointConfigurationName);
public DuplexChannelFactory(object callbackObject, string endpointConfigurationName);
new System.ServiceModel.DuplexChannelFactory<'Channel> : obj * string -> System.ServiceModel.DuplexChannelFactory<'Channel>
Public Sub New (callbackObject As Object, endpointConfigurationName As String)

パラメーター

callbackObject
Object

接続されたサービスからのメッセージをリッスンするためにクライアントが使用する Object 。

endpointConfigurationName
String

エンドポイントに使用される構成名。

例外

callbackObject または endpointConfigurationName が null。

注釈

このコンストラクターを使用して、ターゲット サービスのコールバック コントラクトを実装するサービス オブジェクトを渡し、クライアント アプリケーション構成ファイルからターゲット エンドポイント情報を決定します。

適用対象