WsdlImporter::ImportEndpoints Method (Service^)

 

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

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

public:
ServiceEndpointCollection^ ImportEndpoints(
	Service^ wsdlService
)

Parameters

wsdlService
Type: System.Web.Services.Description::Service^

The System.Web.Services.Description::Service object within which to search for WSDL port information.

Exception Condition
InvalidOperationException

The WsdlImporter has encountered an error.

ArgumentNullException

The wsdlService 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: