WsdlImporter.ImportEndpoints Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a collection of ServiceEndpoint objects that matches all WSDL ports using a specified binding, associated with a specified port type, or within a specified WSDL service.
Overloads
ImportEndpoints(Binding) |
Returns a ServiceEndpointCollection that represents all WSDL port types using the specified Binding. |
ImportEndpoints(PortType) |
Returns a ServiceEndpointCollection that represents all WSDL port types associated with the specified PortType. |
ImportEndpoints(Service) |
Returns a ServiceEndpointCollection that represents all WSDL port types within the specified Service. |
ImportEndpoints(Binding)
Returns a ServiceEndpointCollection that represents all WSDL port types using the specified 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
Parameters
Returns
A ServiceEndpointCollection that represents all WSDL port types using the specified Binding.
Exceptions
The WsdlImporter has encountered an error.
The wsdlBinding
is null
.
Remarks
Check the Errors property to determine whether there are any import errors before using the returned object.
Applies to
ImportEndpoints(PortType)
Returns a ServiceEndpointCollection that represents all WSDL port types associated with the specified 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
Parameters
Returns
A ServiceEndpointCollection that represents all WSDL port types associated with the specified PortType.
Exceptions
The WsdlImporter has encountered an error.
wsdlPortType
is null
.
Remarks
Check the Errors property to determine whether there are any import errors before using the returned object.
Applies to
ImportEndpoints(Service)
Returns a ServiceEndpointCollection that represents all WSDL port types within the specified 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
Parameters
Returns
A ServiceEndpointCollection that represents all WSDL port types within the specified Service.
Exceptions
The WsdlImporter has encountered an error.
The wsdlService
is null
.
Remarks
Check the Errors property to determine whether there are any import errors before using the returned object.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기