DuplexChannelFactory<TChannel> コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
DuplexChannelFactory<TChannel> クラスの新しいインスタンスを初期化します。
オーバーロード
DuplexChannelFactory<TChannel>(Object)
コールバック コントラクトを実装するオブジェクトを使用して、 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 が 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)
パラメーター
- endpointConfigurationName
- String
エンドポイント構成に使用される名前。
- remoteAddress
- EndpointAddress
サービスの場所を提供する EndpointAddress 。
例外
callbackInstanceType または endpointConfigurationName または remoteAddress が null。
適用対象
DuplexChannelFactory<TChannel>(Type, ServiceEndpoint)
指定した種類のコールバック インスタンスとサービス エンドポイントを使用して、 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)
パラメーター
- serviceEndpointendpoint
- ServiceEndpoint
例外
callbackInstanceType が null です。
適用対象
DuplexChannelFactory<TChannel>(Type, Binding, String)
指定した種類のコールバック インスタンス、バインド、およびリモート アドレスを使用して、 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)
パラメーター
- remoteAddress
- String
サービスの場所を提供するリモート アドレス。
例外
callbackInstanceType または binding または remoteAddress が null。
適用対象
DuplexChannelFactory<TChannel>(Type, Binding, EndpointAddress)
指定した種類のコールバック インスタンス、バインディング、およびリモート アドレスを使用して、 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)
パラメーター
- 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<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 。
- 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)
パラメーター
- endpointConfigurationName
- String
エンドポイント構成に使用される名前。
- remoteAddress
- EndpointAddress
サービスの場所を提供する EndpointAddress 。
例外
callbackObject または endpointConfigurationName または remoteAddress が null。
注釈
このコンストラクターを使用して、ターゲット サービスのコールバック コントラクトを実装するサービス オブジェクトを渡し、プログラムでアドレス情報を渡し、クライアント アプリケーション構成ファイルから残りのターゲット エンドポイント情報を決定します。
適用対象
DuplexChannelFactory<TChannel>(Object, Binding, String)
指定したコールバック オブジェクト、バインディング、およびリモート アドレスを使用して、 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)
パラメーター
- remoteAddress
- String
サービスの場所を提供するリモート アドレス。
例外
callbackObject または binding または remoteAddress が null。
適用対象
DuplexChannelFactory<TChannel>(Object, Binding, EndpointAddress)
コールバック コントラクトを実装するオブジェクトと、指定したバインディングとエンドポイント アドレスを使用して、 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)
パラメーター
- remoteAddress
- EndpointAddress
サービスの場所を提供する EndpointAddress 。
例外
callbackObject または binding または remoteAddress が null。
注釈
このコンストラクターを使用して、ターゲット サービスのコールバック コントラクトを実装するサービス オブジェクトを渡し、アプリケーション構成ファイルを使用するのではなく、バインディングとアドレス情報をプログラムで渡します。
適用対象
DuplexChannelFactory<TChannel>(InstanceContext, Binding, String)
指定したインスタンス コンテキスト、バインディング、およびリモート アドレスを使用して、 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 。
- remoteAddress
- String
サービスの場所を提供するリモート アドレス。
例外
callbackInstance または binding または remoteAddress が null。
適用対象
DuplexChannelFactory<TChannel>(Type, Binding)
指定した型のコールバック インスタンスとバインドを使用して、 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 または 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)
パラメーター
- endpointConfigurationName
- String
エンドポイント構成に使用される名前。
例外
callbackInstanceType または endpointConfigurationName が null。
適用対象
DuplexChannelFactory<TChannel>(Type)
指定した型のコールバック インスタンスを使用して、 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 が null です。
適用対象
DuplexChannelFactory<TChannel>(Object, Binding)
コールバック コントラクトと指定したバインディングを実装するオブジェクトを使用して、 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 または binding が null。
注釈
このコンストラクターを使用して、ターゲット サービスのコールバック コントラクトを実装するインスタンス コンテキスト オブジェクトを渡し、アプリケーション構成ファイルを使用するのではなく、プログラムでバインディング情報を渡します。
適用対象
DuplexChannelFactory<TChannel>(Object, ServiceEndpoint)
コールバック コントラクトと指定したエンドポイントを実装するオブジェクトを使用して、 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)
パラメーター
- endpoint
- ServiceEndpoint
ファクトリによって生成されたチャネルが接続する ServiceEndpoint 。
例外
callbackObject が null です。
注釈
このコンストラクターを使用して、ターゲット サービスのコールバック コントラクトを実装するサービス オブジェクトを渡し、アプリケーション構成ファイルを使用するのではなく、プログラムでサービス エンドポイント情報を渡します。
適用対象
DuplexChannelFactory<TChannel>(InstanceContext)
指定したインスタンス コンテキストを使用して、 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<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 。
例外
callbackInstance または binding が null。
注釈
このコンストラクターを使用して、ターゲット サービスのコールバック コントラクトを実装するインスタンス コンテキスト オブジェクトを渡し、アプリケーション構成ファイルを使用するのではなく、プログラムでバインディング情報を渡します。
適用対象
DuplexChannelFactory<TChannel>(InstanceContext, ServiceEndpoint)
コールバック コントラクトと指定したエンドポイントを実装するオブジェクトを使用して、 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)
パラメーター
- endpointConfigurationName
- String
エンドポイントに使用される構成名。
例外
callbackObject または endpointConfigurationName が null。
注釈
このコンストラクターを使用して、ターゲット サービスのコールバック コントラクトを実装するサービス オブジェクトを渡し、クライアント アプリケーション構成ファイルからターゲット エンドポイント情報を決定します。