NetTcpBinding.Security Vlastnost

Definice

Získá objekt, který určuje typ zabezpečení používané se službami konfigurovanými s touto vazbou.

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

Hodnota vlastnosti

Obsahuje NetTcpSecurity typy zabezpečení použité s touto vazbou. Výchozí režim zabezpečení je NetTCPBindingTransport.

Příklady

Tento příklad ukazuje, jak získat Security hodnotu.

NetTcpSecurity security = binding.Security;

Poznámky

Poskytuje NetTcpSecurity typy zabezpečení a nastavení dostupné pro NetTcpBinding.

Platí pro