WsdlImporter::ImportEndpoints Method (Service^)
.NET Framework (current version)
Returns a ServiceEndpointCollection that represents all WSDL port types within the specified System.Web.Services.Description::Service.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- wsdlService
-
Type:
System.Web.Services.Description::Service^
The System.Web.Services.Description::Service object within which to search for WSDL port information.
Return Value
Type: System.ServiceModel.Description::ServiceEndpointCollection^A ServiceEndpointCollection that represents all WSDL port types within the specified System.Web.Services.Description::Service.
| 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
Available since 3.0
Show: