Share via


SyntaxFactory.FinallyBlock Method

Definition

Overloads

FinallyBlock(FinallyStatementSyntax, SyntaxList<StatementSyntax>)

Represents a "Finally ..." block of a "Try" block.

FinallyBlock(SyntaxList<StatementSyntax>)

Represents a "Finally ..." block of a "Try" block.

FinallyBlock()

Represents a "Finally ..." block of a "Try" block.

FinallyBlock(FinallyStatementSyntax, SyntaxList<StatementSyntax>)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Represents a "Finally ..." block of a "Try" block.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::FinallyBlockSyntax ^ FinallyBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::FinallyStatementSyntax ^ finallyStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.FinallyBlockSyntax FinallyBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.FinallyStatementSyntax finallyStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements);
static member FinallyBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.FinallyStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.FinallyBlockSyntax
Public Shared Function FinallyBlock (finallyStatement As FinallyStatementSyntax, statements As SyntaxList(Of StatementSyntax)) As FinallyBlockSyntax

Parameters

finallyStatement
FinallyStatementSyntax

The "Finally" statement that begins the "Finally" block.

statements
SyntaxList<StatementSyntax>

A list of statements to be executed.

Returns

Applies to

FinallyBlock(SyntaxList<StatementSyntax>)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Represents a "Finally ..." block of a "Try" block.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::FinallyBlockSyntax ^ FinallyBlock(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.FinallyBlockSyntax FinallyBlock (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements);
static member FinallyBlock : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.FinallyBlockSyntax
Public Shared Function FinallyBlock (statements As SyntaxList(Of StatementSyntax)) As FinallyBlockSyntax

Parameters

statements
SyntaxList<StatementSyntax>

A list of statements to be executed.

Returns

Applies to

FinallyBlock()

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Represents a "Finally ..." block of a "Try" block.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::FinallyBlockSyntax ^ FinallyBlock();
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.FinallyBlockSyntax FinallyBlock ();
static member FinallyBlock : unit -> Microsoft.CodeAnalysis.VisualBasic.Syntax.FinallyBlockSyntax
Public Shared Function FinallyBlock () As FinallyBlockSyntax

Returns

Applies to