NetTcpBinding.Security Propiedad

Definición

Obtiene un objeto que especifica el tipo de seguridad utilizado con servicios configurados con este enlace.Gets an object that specifies the type of security used with services configured with this binding.

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

Valor de propiedad

NetTcpSecurity

NetTcpSecurity que contiene los tipos de seguridad utilizados con este enlace.The NetTcpSecurity that contains the types of security used with this binding. El modo de seguridad predeterminado para el enlace NetTCPBinding es Transport.The default mode of security for the NetTCPBinding is Transport.

Ejemplos

En este ejemplo se muestra cómo obtener el valor Security.This example shows how to get the Security value.

NetTcpSecurity security = binding.Security;

Comentarios

NetTcpSecurity proporciona los tipos de seguridad y valores disponibles para NetTcpBinding.The NetTcpSecurity provides the types of security and settings available to the NetTcpBinding.

Se aplica a