SyntaxFactory.CatchBlock Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CatchBlock(CatchStatementSyntax) |
Represents a "Catch ..." block. |
CatchBlock(CatchStatementSyntax, SyntaxList<StatementSyntax>) |
Represents a "Catch ..." block. |
CatchBlock(CatchStatementSyntax)
- 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 "Catch ..." block.
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
Parameters
- catchStatement
- CatchStatementSyntax
The "Catch" statement that begins the "Catch" block.
Returns
Applies to
CatchBlock(CatchStatementSyntax, 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 "Catch ..." block.
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
Parameters
- catchStatement
- CatchStatementSyntax
The "Catch" statement that begins the "Catch" block.
- statements
- SyntaxList<StatementSyntax>
A list of statements to be executed if an exception is caught by the "Catch" block.
Returns
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET