MessageSecurityOverHttp 類別

定義

可在 wsDualHttpBinding 繫結上設定訊息層級的安全性屬性。Enables setting message-level security properties on the wsDualHttpBinding binding.

public ref class MessageSecurityOverHttp
public class MessageSecurityOverHttp
type MessageSecurityOverHttp = class
Public Class MessageSecurityOverHttp
繼承
MessageSecurityOverHttp
衍生

備註

您可以透過 Security 屬性 (此屬性傳回 WSDualHttpSecurity 物件),從繫結中存取這個物件。This object is accessed from the binding by means of the Security property, which returns a WSDualHttpSecurity object. Message 屬性會提供 MessageSecurityOverHttp 物件的參考。The Message property provides a reference to the MessageSecurityOverHttp object.

建構函式

MessageSecurityOverHttp()

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

屬性

AlgorithmSuite

指定用於 SOAP 層級之安全性訊息的演算法套件。Specifies the algorithm suite used for security messages at the SOAP level.

ClientCredentialType

指定 wsHttpBinding 或 wsDualHttpBinding 繫結中用戶端驗證所使用的用戶端認證類型。Specifies the type of client credential used for client authentication in the wsHttpBinding or wsDualHttpBinding bindings.

NegotiateServiceCredential

取得或設定值,這個值會指定是否在超出範圍的用戶端提供服務認證,或透過交涉處理從服務取得服務認證。Gets or sets a value that indicates whether the service credential is provisioned at the client out of band or is obtained from the service through a process of negotiation.

方法

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)
IsSecureConversationEnabled()

只用於擴充性案例,以指出從 MessageSecurityOverHttp 衍生之類別的執行個體是否設定為執行如 WS-SecurityConversation 中所述的安全對話。Only used in extensibility scenarios to indicate whether an instance of a class derived from MessageSecurityOverHttp is configured to perform secure conversation as described in WS-SecurityConversation.

MemberwiseClone()

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

(繼承來源 Object)
ShouldSerializeAlgorithmSuite()

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

ShouldSerializeClientCredentialType()

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

ShouldSerializeNegotiateServiceCredential()

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

ToString()

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

(繼承來源 Object)

適用於