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: