ServiceDescription Constructor (IEnumerable<ServiceEndpoint^>^)

 

Initializes a new instance of the ServiceDescription class from a specified enumeration of service endpoints.

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

public:
ServiceDescription(
	IEnumerable<ServiceEndpoint^>^ endpoints
)

Parameters

endpoints
Type: System.Collections.Generic::IEnumerable<ServiceEndpoint^>^

The IEnumerable<T> of type ServiceEndpoint used to initialize the service description.

Exception Condition
ArgumentNullException

endpoints is null.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: