Aracılığıyla paylaş


WsdlImporter.ImportEndpoints Yöntem

Tanım

Belirtilen bir bağlamayı kullanarak, belirtilen bağlantı noktası türüyle ilişkili veya belirtilen bir WSDL hizmeti içinde tüm WSDL bağlantı noktalarıyla eşleşen bir nesne koleksiyonu ServiceEndpoint döndürür.

Aşırı Yüklemeler

ImportEndpoints(Binding)

Belirtilen Bindingkullanarak tüm WSDL bağlantı noktası türlerini temsil eden bir ServiceEndpointCollection döndürür.

ImportEndpoints(PortType)

Belirtilen PortTypeile ilişkili tüm WSDL bağlantı noktası türlerini temsil eden bir ServiceEndpointCollection döndürür.

ImportEndpoints(Service)

Belirtilen Serviceiçindeki tüm WSDL bağlantı noktası türlerini temsil eden bir ServiceEndpointCollection döndürür.

ImportEndpoints(Binding)

Belirtilen Bindingkullanarak tüm WSDL bağlantı noktası türlerini temsil eden bir ServiceEndpointCollection döndürür.

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

Parametreler

wsdlBinding
Binding

Binding WSDL bağlantı noktasında kullanılan nesne.

Döndürülenler

ServiceEndpointCollection

ServiceEndpointCollection Belirtilen Bindingkullanarak tüm WSDL bağlantı noktası türlerini temsil eden bir .

Özel durumlar

WsdlImporter bir hatayla karşılaştı.

, wsdlBinding şeklindedir null.

Açıklamalar

Errors Döndürülen nesneyi kullanmadan önce içeri aktarma hataları olup olmadığını belirlemek için özelliğini denetleyin.

Şunlara uygulanır

ImportEndpoints(PortType)

Belirtilen PortTypeile ilişkili tüm WSDL bağlantı noktası türlerini temsil eden bir ServiceEndpointCollection döndürür.

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

Parametreler

wsdlPortType
PortType

PortType İlişkili WSDL bağlantı noktası bilgilerini bulmak için kullanılan nesne.

Döndürülenler

ServiceEndpointCollection

ServiceEndpointCollection Belirtilen PortTypeile ilişkili tüm WSDL bağlantı noktası türlerini temsil eden bir .

Özel durumlar

WsdlImporter bir hatayla karşılaştı.

wsdlPortType, null değeridir.

Açıklamalar

Errors Döndürülen nesneyi kullanmadan önce içeri aktarma hataları olup olmadığını belirlemek için özelliğini denetleyin.

Şunlara uygulanır

ImportEndpoints(Service)

Belirtilen Serviceiçindeki tüm WSDL bağlantı noktası türlerini temsil eden bir ServiceEndpointCollection döndürür.

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

Parametreler

wsdlService
Service

Service WSDL bağlantı noktası bilgilerinin arandığı nesne.

Döndürülenler

ServiceEndpointCollection

ServiceEndpointCollection Belirtilen Serviceiçindeki tüm WSDL bağlantı noktası türlerini temsil eden bir .

Özel durumlar

WsdlImporter bir hatayla karşılaştı.

, wsdlService şeklindedir null.

Açıklamalar

Errors Döndürülen nesneyi kullanmadan önce içeri aktarma hataları olup olmadığını belirlemek için özelliğini denetleyin.

Şunlara uygulanır