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

注解

默认安全设置为:ClientCredentialTypeUserName;以及 AlgorithmSuiteBasic256

适用于