CodeTryCatchFinallyStatement 建構函式

定義

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

多載

CodeTryCatchFinallyStatement()

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

CodeTryCatchFinallyStatement(CodeStatement[], CodeCatchClause[])

使用指定的 Try 和 Catch 子句陳述式來初始化 CodeTryCatchFinallyStatement 類別的新執行個體。

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

使用指定的 Try 陳述式、Catch 子句和 Finally 陳述式來初始化 CodeTryCatchFinallyStatement 類別的新執行個體。

CodeTryCatchFinallyStatement()

Source:
CodeTryCatchFinallyStatement.cs
Source:
CodeTryCatchFinallyStatement.cs
Source:
CodeTryCatchFinallyStatement.cs

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

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

適用於

CodeTryCatchFinallyStatement(CodeStatement[], CodeCatchClause[])

Source:
CodeTryCatchFinallyStatement.cs
Source:
CodeTryCatchFinallyStatement.cs
Source:
CodeTryCatchFinallyStatement.cs

使用指定的 Try 和 Catch 子句陳述式來初始化 CodeTryCatchFinallyStatement 類別的新執行個體。

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())

參數

tryStatements
CodeStatement[]

指示 Try 陳述式要處理的 CodeStatement 物件陣列。

catchClauses
CodeCatchClause[]

指示 Catch 子句要處理的 CodeCatchClause 物件陣列。

適用於

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

Source:
CodeTryCatchFinallyStatement.cs
Source:
CodeTryCatchFinallyStatement.cs
Source:
CodeTryCatchFinallyStatement.cs

使用指定的 Try 陳述式、Catch 子句和 Finally 陳述式來初始化 CodeTryCatchFinallyStatement 類別的新執行個體。

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())

參數

tryStatements
CodeStatement[]

指示 Try 陳述式要處理的 CodeStatement 物件陣列。

catchClauses
CodeCatchClause[]

指示 Catch 子句要處理的 CodeCatchClause 物件陣列。

finallyStatements
CodeStatement[]

指示 Finally 陳述式要使用的 CodeStatement 物件陣列。

適用於