WsdlImporter::ImportEndpoints Method (Binding^)

 

Returns a ServiceEndpointCollection that represents all WSDL port types using the specified System.Web.Services.Description::Binding.

Namespace:   System.ServiceModel.Description
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
ServiceEndpointCollection^ ImportEndpoints(
	Binding^ wsdlBinding
)

Parameters

wsdlBinding
Type: System.Web.Services.Description::Binding^

A System.Web.Services.Description::Binding object used in a WSDL port.

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
Return to top
Show: