संपादित करें

इसके माध्यम से साझा किया गया


DnsEndpointIdentity Class

Definition

Specifies the DNS identity of the server.

public ref class DnsEndpointIdentity : System::ServiceModel::EndpointIdentity
public class DnsEndpointIdentity : System.ServiceModel.EndpointIdentity
type DnsEndpointIdentity = class
    inherit EndpointIdentity
Public Class DnsEndpointIdentity
Inherits EndpointIdentity
Inheritance
DnsEndpointIdentity

Remarks

This class specifies the expected identity of the server. This identity is valid for X509 Certificate authentication mode if the server's certificate contains a DNS with the same value. It is also valid for Windows authentication mode if the SPN has the same value. In this case, a client specifying the DnsEndpointIdentity "server1.microsoft.com" for Windows authentication mode is equivalent to specifying the SpnEndpointIdentity "host/server1.microsoft.com" .

Constructors

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.

Properties

IdentityClaim

Gets the identity claim that corresponds to the identity.

(Inherited from EndpointIdentity)

Methods

Equals(Object)

Returns a value that determines whether a specified object is equal to the current identity object or if they have equal security properties.

(Inherited from EndpointIdentity)
GetHashCode()

Provides a hash code for the current instance of the identity.

(Inherited from EndpointIdentity)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
Initialize(Claim, IEqualityComparer<Claim>)

Initializes an EndpointIdentity with the specified claim and an interface and compares equality.

(Inherited from EndpointIdentity)
Initialize(Claim)

Initializes an EndpointIdentity with the specified claim.

(Inherited from EndpointIdentity)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns the identity.

(Inherited from EndpointIdentity)

Applies to