ServiceDescription Constructor (IEnumerable<ServiceEndpoint^>^)
.NET Framework (current version)
Initializes a new instance of the ServiceDescription class from a specified enumeration of service endpoints.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
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. |
.NET Framework
Available since 3.0
Available since 3.0
Show: