편집

다음을 통해 공유


DnsEndpointIdentity Constructors

Definition

Initializes a new instance of the DnsEndpointIdentity class.

Overloads

DnsEndpointIdentity(Claim)

Initializes a new instance of the DnsEndpointIdentity class from a claim.

DnsEndpointIdentity(String)

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

DnsEndpointIdentity(Claim)

Source:
DnsEndpointIdentity.cs
Source:
DnsEndpointIdentity.cs

Initializes a new instance of the DnsEndpointIdentity class from a claim.

public:
 DnsEndpointIdentity(System::IdentityModel::Claims::Claim ^ identity);
public DnsEndpointIdentity (System.IdentityModel.Claims.Claim identity);
new System.ServiceModel.DnsEndpointIdentity : System.IdentityModel.Claims.Claim -> System.ServiceModel.DnsEndpointIdentity
Public Sub New (identity As Claim)

Parameters

identity
Claim

The Claim.

Exceptions

identity is null.

Remarks

The identity is used to create an endpoint identity by the Initialize method.

Applies to

DnsEndpointIdentity(String)

Source:
DnsEndpointIdentity.cs
Source:
DnsEndpointIdentity.cs

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

public:
 DnsEndpointIdentity(System::String ^ dnsName);
public DnsEndpointIdentity (string dnsName);
new System.ServiceModel.DnsEndpointIdentity : string -> System.ServiceModel.DnsEndpointIdentity
Public Sub New (dnsName As String)

Parameters

dnsName
String

The DNS name.

Exceptions

dnsName is null.

The claim type of dnsName is not Dns.

Remarks

The dnsName is used to create a DNS claim and an endpoint identity is created by the Initialize method.

Applies to