BasicHttpSecurity.Message 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取 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
注解
默认安全设置为:ClientCredentialType 的 UserName;以及 AlgorithmSuite 的 Basic256。