Compartir a través de


NetTcpBindingElement.PortSharingEnabled Propiedad

Definición

Obtiene o establece un valor booleano que especifica si el uso compartido de puerto TCP está habilitado para esta conexión.

public:
 property bool PortSharingEnabled { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("portSharingEnabled", DefaultValue=false)]
public bool PortSharingEnabled { get; set; }
[<System.Configuration.ConfigurationProperty("portSharingEnabled", DefaultValue=false)>]
member this.PortSharingEnabled : bool with get, set
Public Property PortSharingEnabled As Boolean

Valor de propiedad

Boolean

true si el uso compartido de puerto TCP está habilitado para esta conexión; de lo contrario, false.

Atributos

Se aplica a