Share via


ExceptionCollection(ArrayList) 建構函式

定義

初始化 ExceptionCollection 類別的新執行個體。

public:
 ExceptionCollection(System::Collections::ArrayList ^ exceptions);
public ExceptionCollection (System.Collections.ArrayList exceptions);
public ExceptionCollection (System.Collections.ArrayList? exceptions);
new System.ComponentModel.Design.ExceptionCollection : System.Collections.ArrayList -> System.ComponentModel.Design.ExceptionCollection
Public Sub New (exceptions As ArrayList)

參數

exceptions
ArrayList

Exception 型別的陣列,包含要填入集合的物件。

例外狀況

只限 .NET 8 和更新版本:陣列元素的類型不是 Exception

適用於