共用方式為


ConnectionManagementElement 建構函式

定義

初始化 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屬性 MaxConnectionAddressmaxConnection

另請參閱

適用於