แก้ไข

แชร์ผ่าน


BasicHttpSecurity.Message Property

Definition

Gets the message-level security settings for a basicHttpBinding binding.

public:
 property System::ServiceModel::BasicHttpMessageSecurity ^ Message { System::ServiceModel::BasicHttpMessageSecurity ^ get(); void set(System::ServiceModel::BasicHttpMessageSecurity ^ value); };
public:
 property System::ServiceModel::BasicHttpMessageSecurity ^ Message { System::ServiceModel::BasicHttpMessageSecurity ^ get(); };
public System.ServiceModel.BasicHttpMessageSecurity Message { get; set; }
public System.ServiceModel.BasicHttpMessageSecurity Message { get; }
member this.Message : System.ServiceModel.BasicHttpMessageSecurity with get, set
member this.Message : System.ServiceModel.BasicHttpMessageSecurity
Public Property Message As BasicHttpMessageSecurity
Public ReadOnly Property Message As BasicHttpMessageSecurity

Property Value

A BasicHttpMessageSecurity, which represents the message-level security settings for this binding.

Examples

BasicHttpSecurity security = binding.Security;
BasicHttpMessageSecurity msgSecurity = security.Message;
Dim security As BasicHttpSecurity = binding.Security
Dim msgSecurity As BasicHttpMessageSecurity = security.Message

Remarks

The default security settings are: a ClientCredentialType of UserName; and an AlgorithmSuite of Basic256.

Applies to