Sdílet prostřednictvím


NetMsmqBinding.Security Vlastnost

Definice

Získá nebo nastaví NetMsmqSecurity , který je přidružen k této vazbě.

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

Hodnota vlastnosti

NetMsmqSecurity

To NetMsmqSecurity je přidružené k této vazbě.

Příklady

Následující kód ukazuje, jak získat NetMsmqSecurity objekt.

NetMsmqBinding binding = new NetMsmqBinding();
    NetMsmqSecurity security = binding.Security;

Poznámky

NetMsmqSecurity je zapouzdření přenosu do front zpráv (MSMQ) i zabezpečení protokolu SOAP. Určuje, jestli je povolené přenos nebo zabezpečení PROTOKOLU SOAP, a pokud ano, jaký režim ověřování a úrovně ochrany se používají.

Platí pro