ICatchClauseOperation.ExceptionDeclarationOrExpression Property
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.
Optional source for exception. This could be any of the following operation:
- Declaration for the local catch variable bound to the caught exception (C# and VB) OR
- Null, indicating no declaration or expression (C# and VB)
- Reference to an existing local or parameter (VB) OR
- Other expression for error scenarios (VB)
public:
property Microsoft::CodeAnalysis::IOperation ^ ExceptionDeclarationOrExpression { Microsoft::CodeAnalysis::IOperation ^ get(); };
public Microsoft.CodeAnalysis.IOperation ExceptionDeclarationOrExpression { get; }
public Microsoft.CodeAnalysis.IOperation? ExceptionDeclarationOrExpression { get; }
member this.ExceptionDeclarationOrExpression : Microsoft.CodeAnalysis.IOperation
Public ReadOnly Property ExceptionDeclarationOrExpression As IOperation
Property Value
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.