WsdlImporter.ImportEndpoints メソッド

定義

指定したバインディングを使用しているか、指定したポートの種類に関連付けられているか、または指定した WSDL サービス内にあるすべての WSDL ポートに一致する ServiceEndpoint オブジェクトのコレクションを返します。

オーバーロード

ImportEndpoints(Binding)

指定した ServiceEndpointCollection を使用しているすべての WSDL ポートの種類を表す Binding を返します。

ImportEndpoints(PortType)

指定した ServiceEndpointCollection に関連付けられているすべての WSDL ポートの種類を表す PortType を返します。

ImportEndpoints(Service)

指定した ServiceEndpointCollection 内のすべての WSDL ポートの種類を表す Service を返します。

ImportEndpoints(Binding)

指定した ServiceEndpointCollection を使用しているすべての WSDL ポートの種類を表す Binding を返します。

public:
 System::ServiceModel::Description::ServiceEndpointCollection ^ ImportEndpoints(System::Web::Services::Description::Binding ^ wsdlBinding);
public System.ServiceModel.Description.ServiceEndpointCollection ImportEndpoints (System.Web.Services.Description.Binding wsdlBinding);
member this.ImportEndpoints : System.Web.Services.Description.Binding -> System.ServiceModel.Description.ServiceEndpointCollection
Public Function ImportEndpoints (wsdlBinding As Binding) As ServiceEndpointCollection

パラメーター

wsdlBinding
Binding

WSDL ポートで使用される Binding オブジェクト。

戻り値

指定した ServiceEndpointCollection を使用しているすべての WSDL ポートの種類を表す Binding

例外

WsdlImporter でエラーが発生しました。

wsdlBindingnull です。

注釈

返されたオブジェクトを使用する前に、Errors プロパティを調べて、インポート エラーがあるかを確認します。

適用対象

ImportEndpoints(PortType)

指定した ServiceEndpointCollection に関連付けられているすべての WSDL ポートの種類を表す PortType を返します。

public:
 System::ServiceModel::Description::ServiceEndpointCollection ^ ImportEndpoints(System::Web::Services::Description::PortType ^ wsdlPortType);
public System.ServiceModel.Description.ServiceEndpointCollection ImportEndpoints (System.Web.Services.Description.PortType wsdlPortType);
member this.ImportEndpoints : System.Web.Services.Description.PortType -> System.ServiceModel.Description.ServiceEndpointCollection
Public Function ImportEndpoints (wsdlPortType As PortType) As ServiceEndpointCollection

パラメーター

wsdlPortType
PortType

関連付けられている WSDL ポート情報の検索に使用される PortType オブジェクト。

戻り値

指定した ServiceEndpointCollection に関連付けられているすべての WSDL ポートの種類を表す PortType

例外

WsdlImporter でエラーが発生しました。

wsdlPortTypenullです。

注釈

返されたオブジェクトを使用する前に、Errors プロパティを調べて、インポート エラーがあるかを確認します。

適用対象

ImportEndpoints(Service)

指定した ServiceEndpointCollection 内のすべての WSDL ポートの種類を表す Service を返します。

public:
 System::ServiceModel::Description::ServiceEndpointCollection ^ ImportEndpoints(System::Web::Services::Description::Service ^ wsdlService);
public System.ServiceModel.Description.ServiceEndpointCollection ImportEndpoints (System.Web.Services.Description.Service wsdlService);
member this.ImportEndpoints : System.Web.Services.Description.Service -> System.ServiceModel.Description.ServiceEndpointCollection
Public Function ImportEndpoints (wsdlService As Service) As ServiceEndpointCollection

パラメーター

wsdlService
Service

WSDL ポート情報の検索対象となる Service オブジェクト。

戻り値

指定した ServiceEndpointCollection 内のすべての WSDL ポートの種類を表す Service

例外

WsdlImporter でエラーが発生しました。

wsdlServicenull です。

注釈

返されたオブジェクトを使用する前に、Errors プロパティを調べて、インポート エラーがあるかを確認します。

適用対象