SyntaxFactory.CatchBlock Metodo

Definizione

Overload

CatchBlock(CatchStatementSyntax)

Rappresenta un "Catch..." Blocco.

CatchBlock(CatchStatementSyntax, SyntaxList<StatementSyntax>)

Rappresenta un "Catch..." Blocco.

CatchBlock(CatchStatementSyntax)

Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb

Rappresenta un "Catch..." Blocco.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::CatchBlockSyntax ^ CatchBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::CatchStatementSyntax ^ catchStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchBlockSyntax CatchBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchStatementSyntax catchStatement);
static member CatchBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchBlockSyntax
Public Shared Function CatchBlock (catchStatement As CatchStatementSyntax) As CatchBlockSyntax

Parametri

catchStatement
CatchStatementSyntax

Istruzione "Catch" che inizia il blocco "Catch".

Restituisce

Si applica a

CatchBlock(CatchStatementSyntax, SyntaxList<StatementSyntax>)

Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb
Origine:
Syntax.xml.Main.Generated.vb

Rappresenta un "Catch..." Blocco.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::CatchBlockSyntax ^ CatchBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::CatchStatementSyntax ^ catchStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchBlockSyntax CatchBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchStatementSyntax catchStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements);
static member CatchBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchBlockSyntax
Public Shared Function CatchBlock (catchStatement As CatchStatementSyntax, statements As SyntaxList(Of StatementSyntax)) As CatchBlockSyntax

Parametri

catchStatement
CatchStatementSyntax

Istruzione "Catch" che inizia il blocco "Catch".

statements
SyntaxList<StatementSyntax>

Elenco di istruzioni da eseguire se un'eccezione viene intercettata dal blocco "Catch".

Restituisce

Si applica a