Langue

NetPeerTcpBindingElement.Port Propriété

Définition

Obtient ou définit le port d’interface réseau sur lequel cette liaison traite les messages TCP du canal homologue.

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

Valeur de propriété

Int32 qui spécifie le port réseau sur lequel cette liaison traite les messages TCP du canal homologue.

Attributs

S’applique à