NetPeerTcpBindingElement.Port Propiedad

Definición

Obtiene o establece el puerto de la interfaz de red en el que este enlace procesará los mensajes TCP del canal del mismo nivel.

public:
 property int Port { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("port", DefaultValue=0)]
[System.Configuration.IntegerValidator(MaxValue=65535, MinValue=0)]
public int Port { get; set; }
[<System.Configuration.ConfigurationProperty("port", DefaultValue=0)>]
[<System.Configuration.IntegerValidator(MaxValue=65535, MinValue=0)>]
member this.Port : int with get, set
Public Property Port As Integer

Valor de propiedad

Int32 que especifica el puerto de red en el que este enlace procesará los mensajes TCP de canal del mismo nivel.

Atributos

Se aplica a