ערוך

שתף באמצעות


CodeTryCatchFinallyStatement Constructors

Definition

Initializes a new instance of the CodeTryCatchFinallyStatement class.

Overloads

CodeTryCatchFinallyStatement()

Initializes a new instance of the CodeTryCatchFinallyStatement class.

CodeTryCatchFinallyStatement(CodeStatement[], CodeCatchClause[])

Initializes a new instance of the CodeTryCatchFinallyStatement class using the specified statements for try and catch clauses.

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

Initializes a new instance of the CodeTryCatchFinallyStatement class using the specified statements for try, catch clauses, and finally statements.

CodeTryCatchFinallyStatement()

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

Initializes a new instance of the CodeTryCatchFinallyStatement class.

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

Applies to

CodeTryCatchFinallyStatement(CodeStatement[], CodeCatchClause[])

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

Initializes a new instance of the CodeTryCatchFinallyStatement class using the specified statements for try and catch clauses.

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

Parameters

tryStatements
CodeStatement[]

An array of CodeStatement objects that indicate the statements to try.

catchClauses
CodeCatchClause[]

An array of CodeCatchClause objects that indicate the clauses to catch.

Applies to

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

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

Initializes a new instance of the CodeTryCatchFinallyStatement class using the specified statements for try, catch clauses, and finally statements.

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

Parameters

tryStatements
CodeStatement[]

An array of CodeStatement objects that indicate the statements to try.

catchClauses
CodeCatchClause[]

An array of CodeCatchClause objects that indicate the clauses to catch.

finallyStatements
CodeStatement[]

An array of CodeStatement objects that indicate the finally statements to use.

Applies to