共用方式為


BasicHttpSecurity.Message 屬性

定義

取得 basicHttpBinding 繫結的訊息層級安全性設定。

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

屬性值

BasicHttpMessageSecurity,代表此繫結的訊息層級安全性設定。

範例

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

備註

預設安全性設定是:的,以及 的 。

適用於