CodeCatchClauseCollection Constructors

Definition

Initializes a new instance of the CodeCatchClauseCollection class.

Overloads

CodeCatchClauseCollection()

Initializes a new instance of the CodeCatchClauseCollection class.

CodeCatchClauseCollection(CodeCatchClause[])

Initializes a new instance of the CodeCatchClauseCollection class containing the specified array of CodeCatchClause objects.

CodeCatchClauseCollection(CodeCatchClauseCollection)

Initializes a new instance of the CodeCatchClauseCollection class containing the elements of the specified source collection.

CodeCatchClauseCollection()

Initializes a new instance of the CodeCatchClauseCollection class.

public:
 CodeCatchClauseCollection();
public CodeCatchClauseCollection ();
Public Sub New ()

Applies to

CodeCatchClauseCollection(CodeCatchClause[])

Initializes a new instance of the CodeCatchClauseCollection class containing the specified array of CodeCatchClause objects.

public:
 CodeCatchClauseCollection(cli::array <System::CodeDom::CodeCatchClause ^> ^ value);
public CodeCatchClauseCollection (System.CodeDom.CodeCatchClause[] value);
new System.CodeDom.CodeCatchClauseCollection : System.CodeDom.CodeCatchClause[] -> System.CodeDom.CodeCatchClauseCollection
Public Sub New (value As CodeCatchClause())

Parameters

value
CodeCatchClause[]

An array of CodeCatchClause objects with which to initialize the collection.

Exceptions

One or more objects in the array are null.

Applies to

CodeCatchClauseCollection(CodeCatchClauseCollection)

Initializes a new instance of the CodeCatchClauseCollection class containing the elements of the specified source collection.

public:
 CodeCatchClauseCollection(System::CodeDom::CodeCatchClauseCollection ^ value);
public CodeCatchClauseCollection (System.CodeDom.CodeCatchClauseCollection value);
new System.CodeDom.CodeCatchClauseCollection : System.CodeDom.CodeCatchClauseCollection -> System.CodeDom.CodeCatchClauseCollection
Public Sub New (value As CodeCatchClauseCollection)

Parameters

value
CodeCatchClauseCollection

A CodeCatchClauseCollection with which to initialize the collection.

Exceptions

value is null.

Applies to