共用方式為


WebHttpSecurity 類別

定義

指定服務端點可接受 HTTP 請求時可用的安全類型。

public ref class WebHttpSecurity sealed
public sealed class WebHttpSecurity
type WebHttpSecurity = class
Public NotInheritable Class WebHttpSecurity
繼承
WebHttpSecurity

備註

WebHttpSecurity 提供端 WebHttpBinding點配置的安全需求。

Transport 該值由 WebHttpBinding(WebHttpSecurityMode) 方法指定,則該屬性所提供的 Transport 設定對服務端點生效。 的 WebHttpSecurityMode 值只能在將其視為明確參數的 WebHttpBinding 建構子中設定,且在建立綁定實例後無法再次設定。

建構函式

名稱 Description
WebHttpSecurity()

建立一個新的類別實例 WebHttpSecurity

屬性

名稱 Description
Mode

取得或設定端點所採用的安全模式,該端點配置為接收 HTTP 請求 WebHttpBinding

Transport

取得包含此綁定傳輸層安全設定的物件。

方法

名稱 Description
Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ShouldSerializeMode()

指定屬性是否 Mode 已從預設變更,並應序列化。 此方法用於 XAML 整合。

ShouldSerializeTransport()

回傳一個值,指示傳輸屬性是否已從預設值改變,並應序列化。 WCF 用於 XAML 整合。

ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)

適用於