다음을 통해 공유


ICatchClauseOperation.ExceptionDeclarationOrExpression Property

Definition

Optional source for exception. This could be any of the following operation:

  1. Declaration for the local catch variable bound to the caught exception (C# and VB) OR
  2. Null, indicating no declaration or expression (C# and VB)
  3. Reference to an existing local or parameter (VB) OR
  4. 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