DnsEndpointIdentity Constructor (String^)
.NET Framework (current version)
Initializes a new instance of this class from a DNS name.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- dnsName
-
Type:
System::String^
The DNS name.
| Exception | Condition |
|---|---|
| ArgumentNullException | dnsName is null. |
| ArgumentException | The claim type of dnsName is not Dns. |
The dnsName is used to create a DNS claim and an endpoint identity is created by the Initialize method.
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Show: