Udostępnij za pośrednictwem


SyntaxFactory.CatchClause Method

Definition

Overloads

CatchClause()

Creates a new CatchClauseSyntax instance.

CatchClause(CatchDeclarationSyntax, CatchFilterClauseSyntax, BlockSyntax)

Creates a new CatchClauseSyntax instance.

CatchClause(SyntaxToken, CatchDeclarationSyntax, CatchFilterClauseSyntax, BlockSyntax)

Creates a new CatchClauseSyntax instance.

CatchClause()

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Creates a new CatchClauseSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::CatchClauseSyntax ^ CatchClause();
public static Microsoft.CodeAnalysis.CSharp.Syntax.CatchClauseSyntax CatchClause ();
static member CatchClause : unit -> Microsoft.CodeAnalysis.CSharp.Syntax.CatchClauseSyntax
Public Shared Function CatchClause () As CatchClauseSyntax

Returns

Applies to

CatchClause(CatchDeclarationSyntax, CatchFilterClauseSyntax, BlockSyntax)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Creates a new CatchClauseSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::CatchClauseSyntax ^ CatchClause(Microsoft::CodeAnalysis::CSharp::Syntax::CatchDeclarationSyntax ^ declaration, Microsoft::CodeAnalysis::CSharp::Syntax::CatchFilterClauseSyntax ^ filter, Microsoft::CodeAnalysis::CSharp::Syntax::BlockSyntax ^ block);
public static Microsoft.CodeAnalysis.CSharp.Syntax.CatchClauseSyntax CatchClause (Microsoft.CodeAnalysis.CSharp.Syntax.CatchDeclarationSyntax declaration, Microsoft.CodeAnalysis.CSharp.Syntax.CatchFilterClauseSyntax filter, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block);
public static Microsoft.CodeAnalysis.CSharp.Syntax.CatchClauseSyntax CatchClause (Microsoft.CodeAnalysis.CSharp.Syntax.CatchDeclarationSyntax? declaration, Microsoft.CodeAnalysis.CSharp.Syntax.CatchFilterClauseSyntax? filter, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block);
static member CatchClause : Microsoft.CodeAnalysis.CSharp.Syntax.CatchDeclarationSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.CatchFilterClauseSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.CatchClauseSyntax
Public Shared Function CatchClause (declaration As CatchDeclarationSyntax, filter As CatchFilterClauseSyntax, block As BlockSyntax) As CatchClauseSyntax

Parameters

block
BlockSyntax

Returns

Applies to

CatchClause(SyntaxToken, CatchDeclarationSyntax, CatchFilterClauseSyntax, BlockSyntax)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

Creates a new CatchClauseSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::CatchClauseSyntax ^ CatchClause(Microsoft::CodeAnalysis::SyntaxToken catchKeyword, Microsoft::CodeAnalysis::CSharp::Syntax::CatchDeclarationSyntax ^ declaration, Microsoft::CodeAnalysis::CSharp::Syntax::CatchFilterClauseSyntax ^ filter, Microsoft::CodeAnalysis::CSharp::Syntax::BlockSyntax ^ block);
public static Microsoft.CodeAnalysis.CSharp.Syntax.CatchClauseSyntax CatchClause (Microsoft.CodeAnalysis.SyntaxToken catchKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.CatchDeclarationSyntax declaration, Microsoft.CodeAnalysis.CSharp.Syntax.CatchFilterClauseSyntax filter, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block);
public static Microsoft.CodeAnalysis.CSharp.Syntax.CatchClauseSyntax CatchClause (Microsoft.CodeAnalysis.SyntaxToken catchKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.CatchDeclarationSyntax? declaration, Microsoft.CodeAnalysis.CSharp.Syntax.CatchFilterClauseSyntax? filter, Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax block);
static member CatchClause : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.CatchDeclarationSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.CatchFilterClauseSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.BlockSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.CatchClauseSyntax
Public Shared Function CatchClause (catchKeyword As SyntaxToken, declaration As CatchDeclarationSyntax, filter As CatchFilterClauseSyntax, block As BlockSyntax) As CatchClauseSyntax

Parameters

catchKeyword
SyntaxToken
block
BlockSyntax

Returns

Applies to