NetMsmqBinding.Security 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置与此绑定关联的 NetMsmqSecurity。
public:
property System::ServiceModel::NetMsmqSecurity ^ Security { System::ServiceModel::NetMsmqSecurity ^ get(); };
public:
property System::ServiceModel::NetMsmqSecurity ^ Security { System::ServiceModel::NetMsmqSecurity ^ get(); void set(System::ServiceModel::NetMsmqSecurity ^ value); };
public System.ServiceModel.NetMsmqSecurity Security { get; }
public System.ServiceModel.NetMsmqSecurity Security { get; set; }
member this.Security : System.ServiceModel.NetMsmqSecurity
member this.Security : System.ServiceModel.NetMsmqSecurity with get, set
Public ReadOnly Property Security As NetMsmqSecurity
Public Property Security As NetMsmqSecurity
属性值
与此绑定相关联的 NetMsmqSecurity。
示例
下面的代码演示如何获取 NetMsmqSecurity 对象。
NetMsmqBinding binding = new NetMsmqBinding();
NetMsmqSecurity security = binding.Security;
注解
NetMsmqSecurity 是消息队列 (MSMQ) 传输和 SOAP 安全的包装。 它指定是否启用传输或 SOAP 安全;如果启用,还指定所使用的身份验证模式和保护级别。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈