CodeTryCatchFinallyStatement Konstruktory

Definice

Inicializuje novou instanci CodeTryCatchFinallyStatement třídy .

Přetížení

CodeTryCatchFinallyStatement()

Inicializuje novou instanci CodeTryCatchFinallyStatement třídy .

CodeTryCatchFinallyStatement(CodeStatement[], CodeCatchClause[])

Inicializuje novou instanci CodeTryCatchFinallyStatement třídy pomocí zadaných příkazů pro klauzule try a catch.

CodeTryCatchFinallyStatement(CodeStatement[], CodeCatchClause[], CodeStatement[])

Inicializuje novou instanci CodeTryCatchFinallyStatement třídy pomocí zadaných příkazů pro klauzule try, catch a finally příkazy.

CodeTryCatchFinallyStatement()

Zdroj:
CodeTryCatchFinallyStatement.cs
Zdroj:
CodeTryCatchFinallyStatement.cs
Zdroj:
CodeTryCatchFinallyStatement.cs

Inicializuje novou instanci CodeTryCatchFinallyStatement třídy .

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

Platí pro

CodeTryCatchFinallyStatement(CodeStatement[], CodeCatchClause[])

Zdroj:
CodeTryCatchFinallyStatement.cs
Zdroj:
CodeTryCatchFinallyStatement.cs
Zdroj:
CodeTryCatchFinallyStatement.cs

Inicializuje novou instanci CodeTryCatchFinallyStatement třídy pomocí zadaných příkazů pro klauzule try a catch.

public:
 CodeTryCatchFinallyStatement(cli::array <System::CodeDom::CodeStatement ^> ^ tryStatements, cli::array <System::CodeDom::CodeCatchClause ^> ^ catchClauses);
public CodeTryCatchFinallyStatement (System.CodeDom.CodeStatement[] tryStatements, System.CodeDom.CodeCatchClause[] catchClauses);
new System.CodeDom.CodeTryCatchFinallyStatement : System.CodeDom.CodeStatement[] * System.CodeDom.CodeCatchClause[] -> System.CodeDom.CodeTryCatchFinallyStatement
Public Sub New (tryStatements As CodeStatement(), catchClauses As CodeCatchClause())

Parametry

tryStatements
CodeStatement[]

Pole CodeStatement objektů, které označují příkazy, které se mají vyzkoušet.

catchClauses
CodeCatchClause[]

Pole CodeCatchClause objektů, které označují klauzule, které se mají zachytit.

Platí pro

CodeTryCatchFinallyStatement(CodeStatement[], CodeCatchClause[], CodeStatement[])

Zdroj:
CodeTryCatchFinallyStatement.cs
Zdroj:
CodeTryCatchFinallyStatement.cs
Zdroj:
CodeTryCatchFinallyStatement.cs

Inicializuje novou instanci CodeTryCatchFinallyStatement třídy pomocí zadaných příkazů pro klauzule try, catch a finally příkazy.

public:
 CodeTryCatchFinallyStatement(cli::array <System::CodeDom::CodeStatement ^> ^ tryStatements, cli::array <System::CodeDom::CodeCatchClause ^> ^ catchClauses, cli::array <System::CodeDom::CodeStatement ^> ^ finallyStatements);
public CodeTryCatchFinallyStatement (System.CodeDom.CodeStatement[] tryStatements, System.CodeDom.CodeCatchClause[] catchClauses, System.CodeDom.CodeStatement[] finallyStatements);
new System.CodeDom.CodeTryCatchFinallyStatement : System.CodeDom.CodeStatement[] * System.CodeDom.CodeCatchClause[] * System.CodeDom.CodeStatement[] -> System.CodeDom.CodeTryCatchFinallyStatement
Public Sub New (tryStatements As CodeStatement(), catchClauses As CodeCatchClause(), finallyStatements As CodeStatement())

Parametry

tryStatements
CodeStatement[]

Pole CodeStatement objektů, které označují příkazy, které se mají vyzkoušet.

catchClauses
CodeCatchClause[]

Pole CodeCatchClause objektů, které označují klauzule, které se mají zachytit.

finallyStatements
CodeStatement[]

Pole CodeStatement objektů, které označují příkazy finally, které se mají použít.

Platí pro