แก้ไข

แชร์ผ่าน


NetPeerTcpBindingElement.Port Property

Definition

Gets or sets the network interface port on which this binding will process peer channel TCP messages.

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

Property Value

Int32 that specifies the network port on which this binding will process peer channel TCP messages.

Attributes

Applies to