WebHttpSecurity 類別

定義

指定設定服務端點接收 HTTP 要求可使用的安全性型別。

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

備註

為以 設定的端點提供安全性需求。

如果 Transport 值由 WebHttpBinding(WebHttpSecurityMode) 方法指定,那麼 Transport 屬性提供的設定,對服務端點而言變為有效。 WebHttpSecurityMode 的值只能在 WebHttpBinding 建構函式中設定,這個建構函式會將它當做明確參數,而且其值在建立繫結執行個體之後無法再次設定。

建構函式

WebHttpSecurity()

建立 WebHttpSecurity 類別的新執行個體。

屬性

Mode

取得或設定以 設定接收 HTTP 要求之端點所使用的安全性模式。

Transport

取得包含此繫結之傳輸層級安全性設定的物件。

方法

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ShouldSerializeMode()

指定 Mode 屬性是否已變更為非預設值且應該序列化。 這項資訊會用於 XAML 整合。

ShouldSerializeTransport()

傳回值,這個值會指出 Transport 屬性是否已變更為非預設值且應該序列化。 這項資訊會由 WCF 用於 XAML 整合。

ToString()

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

(繼承來源 Object)

適用於