Idioma

NetPeerTcpBindingElement.Port Propriedade

Definição

Obtém ou define a porta de interface de rede onde esta ligação irá processar mensagens TCP do canal de pares.

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 Propriedade

Int32 que especifica a porta de rede onde esta ligação irá processar mensagens TCP de canal de pares.

Atributos

Aplica-se a