CodeCatchClauseCollection Konstruktorer
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Initierar en ny instans av CodeCatchClauseCollection klassen.
Överlagringar
| Name | Description |
|---|---|
| CodeCatchClauseCollection() |
Initierar en ny instans av CodeCatchClauseCollection klassen. |
| CodeCatchClauseCollection(CodeCatchClause[]) |
Initierar en ny instans av CodeCatchClauseCollection klassen som innehåller den angivna matrisen med CodeCatchClause objekt. |
| CodeCatchClauseCollection(CodeCatchClauseCollection) |
Initierar en ny instans av CodeCatchClauseCollection klassen som innehåller elementen i den angivna källsamlingen. |
CodeCatchClauseCollection()
Initierar en ny instans av CodeCatchClauseCollection klassen.
public:
CodeCatchClauseCollection();
public CodeCatchClauseCollection();
Public Sub New ()
Gäller för
CodeCatchClauseCollection(CodeCatchClause[])
Initierar en ny instans av CodeCatchClauseCollection klassen som innehåller den angivna matrisen med CodeCatchClause objekt.
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())
Parametrar
- value
- CodeCatchClause[]
En matris CodeCatchClause med objekt som samlingen ska initieras med.
Undantag
Ett eller flera objekt i matrisen är null.
Gäller för
CodeCatchClauseCollection(CodeCatchClauseCollection)
Initierar en ny instans av CodeCatchClauseCollection klassen som innehåller elementen i den angivna källsamlingen.
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)
Parametrar
A CodeCatchClauseCollection som samlingen ska initieras med.
Undantag
value är null.