Language

NetPeerTcpBindingElement.Port プロパティ

定義

このバインディングがピア チャネル TCP メッセージを処理するネットワーク インターフェイス ポートを取得または設定します。

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

プロパティ値

Int32 このバインディングがピア チャネル TCP メッセージを処理するネットワーク ポートを指定します。

属性

適用対象