語言

DnsEndpointIdentity 類別

定義

指定伺服器的 DNS 身份。

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

備註

此類別指定伺服器的預期身份。 若伺服器憑證包含相同值的 DNS,則該身份在 X509 憑證認證模式下是有效的。 若 SPN 值相同,則在 Windows 認證模式下也同樣有效。 在此情況下,客戶端指定 DnsEndpointIdentity 「server1.microsoft.com」作為 Windows 驗證 模式,等同於指定 SpnEndpointIdentity 「host/server1.microsoft.com」。

建構函式

名稱 Description
DnsEndpointIdentity(Claim)

初始化該類別的新實例 DnsEndpointIdentity ,從一個權利要求中。

DnsEndpointIdentity(String)

從 DNS 名稱初始化此類別的新實例。

屬性

名稱 Description
IdentityClaim

得到對應於該恆等式的恆等主張。

(繼承來源 EndpointIdentity)

方法

名稱 Description
Equals(Object)

回傳一個值,判斷指定物件是否等於當前身份物件,或兩者是否具有相等的安全屬性。

(繼承來源 EndpointIdentity)
GetHashCode()

提供當前身份實例的雜湊碼。

(繼承來源 EndpointIdentity)
GetType()

取得目前實例的 Type。

(繼承來源 Object)
Initialize(Claim, IEqualityComparer<Claim>)

初始化 與 EndpointIdentity 指定主張及介面,並比較相等。

(繼承來源 EndpointIdentity)
Initialize(Claim)

初始化 並 EndpointIdentity 以指定的權利要求。

(繼承來源 EndpointIdentity)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

回傳身份。

(繼承來源 EndpointIdentity)

適用於