WSHttpSecurity 類別

定義

代表 WSHttpBinding 的安全性設定。Represents the security settings for the WSHttpBinding.

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

備註

WSHttpBinding 類別主要是用來與實作 WS-* 規格的服務進行交互操作。The WSHttpBinding class is designed for interoperation with services that implement WS-* specifications. 此繫結的傳輸安全性為使用 HTTP 或 HTTPS 的安全通訊端層 (SSL)。The transport security for this binding is Secure Sockets Layer (SSL) over HTTP, or HTTPS.

建構函式

WSHttpSecurity()

初始化 WSHttpSecurity 類別的新執行個體。Initializes a new instance of the WSHttpSecurity class.

屬性

Message

取得此繫結的訊息層級安全性設定。Gets the message-level security settings for this binding.

Mode

指定此繫結的訊息 SecurityModeSpecifies the message SecurityMode for this binding.

Transport

取得包含此繫結之傳輸層級安全性設定的物件。Gets an object that contains the transport-level security settings for this binding.

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ShouldSerializeMessage()

傳回值,這個值表示 Message 屬性是否已變更為非預設值且應該序列化。Returns a value that indicates whether the Message property has changed from its default value and should be serialized. 這項資訊會由 WCF 用於 XAML 整合。This is used by WCF for XAML integration.

ShouldSerializeMode()

傳回值,這個值表示 Mode 屬性是否已變更為非預設值且應該序列化。Returns a value that indicates whether the Mode property has changed from its default value and should be serialized. 這項資訊會由 WCF 用於 XAML 整合。This is used by WCF for XAML integration.

ShouldSerializeTransport()

傳回值,這個值表示 Transport 屬性是否已變更為非預設值且應該序列化。Returns a value that indicates whether the Transport property has changed from its default value and should be serialized.

ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於