WsdlImporter::ImportEndpoints Method (Binding^)
.NET Framework (current version)
Returns a ServiceEndpointCollection that represents all WSDL port types using the specified System.Web.Services.Description::Binding.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- wsdlBinding
-
Type:
System.Web.Services.Description::Binding^
A System.Web.Services.Description::Binding object used in a WSDL port.
Return Value
Type: System.ServiceModel.Description::ServiceEndpointCollection^A ServiceEndpointCollection that represents all WSDL port types using the specified System.Web.Services.Description::Binding.
| Exception | Condition |
|---|---|
| InvalidOperationException | The WsdlImporter has encountered an error. |
| ArgumentNullException | The wsdlBinding is null. |
Check the Errors property to determine whether there are any import errors before using the returned object.
.NET Framework
Available since 3.0
Available since 3.0
Show: