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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.