ChannelFactory.InitializeEndpoint メソッド

定義

チャネル ファクトリのサービス エンドポイントを初期化します。

オーバーロード

名前 説明
InitializeEndpoint(String, EndpointAddress)

指定したアドレスと構成を使用して、チャネル ファクトリのサービス エンドポイントを初期化します。

InitializeEndpoint(Binding, EndpointAddress)

指定したバインディングとアドレスを使用して、チャネル ファクトリのサービス エンドポイントを初期化します。

InitializeEndpoint(ServiceEndpoint)

指定したエンドポイントを使用して、チャネル ファクトリのサービス エンドポイントを初期化します。

注釈

エンドポイントを初期化するアドレスが必要ですが、完全なエンドポイントではなくバインディングまたは構成のみを持つことができます。

InitializeEndpoint(String, EndpointAddress)

指定したアドレスと構成を使用して、チャネル ファクトリのサービス エンドポイントを初期化します。

protected:
 void InitializeEndpoint(System::String ^ configurationName, System::ServiceModel::EndpointAddress ^ address);
protected void InitializeEndpoint(string configurationName, System.ServiceModel.EndpointAddress address);
member this.InitializeEndpoint : string * System.ServiceModel.EndpointAddress -> unit
Protected Sub InitializeEndpoint (configurationName As String, address As EndpointAddress)

パラメーター

configurationName
String

チャネル ファクトリの初期化に使用する構成ファイルの名前。

address
EndpointAddress

チャネル ファクトリの初期化に使用する EndpointAddress

注釈

バインドがある場合は、 InitializeEndpoint(Binding, EndpointAddress) を使用します。

適用対象

InitializeEndpoint(Binding, EndpointAddress)

ソース:
ChannelFactory.cs
ソース:
ChannelFactory.cs
ソース:
ChannelFactory.cs

指定したバインディングとアドレスを使用して、チャネル ファクトリのサービス エンドポイントを初期化します。

protected:
 void InitializeEndpoint(System::ServiceModel::Channels::Binding ^ binding, System::ServiceModel::EndpointAddress ^ address);
protected void InitializeEndpoint(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress address);
member this.InitializeEndpoint : System.ServiceModel.Channels.Binding * System.ServiceModel.EndpointAddress -> unit
Protected Sub InitializeEndpoint (binding As Binding, address As EndpointAddress)

パラメーター

binding
Binding

チャネル ファクトリの初期化に使用する Binding

address
EndpointAddress

チャネル ファクトリの初期化に使用する EndpointAddress

注釈

構成がある場合は、 InitializeEndpoint(String, EndpointAddress) を使用します。

適用対象

InitializeEndpoint(ServiceEndpoint)

ソース:
ChannelFactory.cs
ソース:
ChannelFactory.cs
ソース:
ChannelFactory.cs

指定したエンドポイントを使用して、チャネル ファクトリのサービス エンドポイントを初期化します。

protected:
 void InitializeEndpoint(System::ServiceModel::Description::ServiceEndpoint ^ endpoint);
protected void InitializeEndpoint(System.ServiceModel.Description.ServiceEndpoint endpoint);
member this.InitializeEndpoint : System.ServiceModel.Description.ServiceEndpoint -> unit
Protected Sub InitializeEndpoint (endpoint As ServiceEndpoint)

パラメーター

endpoint
ServiceEndpoint

チャネル ファクトリを初期化する ServiceEndpoint

例外

endpointnullです。

注釈

バインドがある場合は、 InitializeEndpoint(Binding, EndpointAddress) を使用します。 構成がある場合は、 InitializeEndpoint(String, EndpointAddress) を使用します。

適用対象