NetMsmqSecurity.Transport 属性

定义

获取或设置与 MsmqTransportSecurity 绑定关联的 NetMsmqBinding

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

属性值

MsmqTransportSecurity

MsmqTransportSecurity 绑定关联的 NetMsmqBinding

示例

MsmqTransportSecurity trnsSecurity = security.Transport;
Dim trnsSecurity = security.Transport

注解

此属性允许访问 MSMQ 传输安全设置。

适用于