ConnectionManagementElement 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 ConnectionManagementElement 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| ConnectionManagementElement() |
初始化 ConnectionManagementElement 類別的新執行個體。 |
| ConnectionManagementElement(String, Int32) |
初始化一個包含指定位址與連線限制資訊的 ConnectionManagementElement 類別新實例。 |
ConnectionManagementElement()
初始化 ConnectionManagementElement 類別的新執行個體。
public:
ConnectionManagementElement();
public ConnectionManagementElement();
Public Sub New ()
另請參閱
適用於
ConnectionManagementElement(String, Int32)
初始化一個包含指定位址與連線限制資訊的 ConnectionManagementElement 類別新實例。
public:
ConnectionManagementElement(System::String ^ address, int maxConnection);
public ConnectionManagementElement(string address, int maxConnection);
new System.Net.Configuration.ConnectionManagementElement : string * int -> System.Net.Configuration.ConnectionManagementElement
Public Sub New (address As String, maxConnection As Integer)
參數
- address
- String
一個用來識別遠端電腦位址的字串。
- maxConnection
- Int32
一個整數,用來識別本地電腦允許的最大 address 連線數量。
備註
此建構子將屬性設為 ,address屬性 MaxConnectionAddress 為 maxConnection。