Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DnsEndpointIdentity Constructor (String^)

 

Initializes a new instance of this class from a DNS name.

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

public:
DnsEndpointIdentity(
	String^ dnsName
)

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
Return to top
Show:
© 2017 Microsoft