Share via


ExceptionContext.CatchBlock Property

 

Gets the catch block in which the exception was caught.

Namespace:   System.Web.Http.ExceptionHandling
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

public ExceptionContextCatchBlock CatchBlock {
    [CompilerGeneratedAttribute]
    get;
    [CompilerGeneratedAttribute]
    private set;
}
public:
property ExceptionContextCatchBlock^ CatchBlock {
    [CompilerGeneratedAttribute]
    ExceptionContextCatchBlock^ get();
    [CompilerGeneratedAttribute]
    private: void set(ExceptionContextCatchBlock^ value);
}
member CatchBlock : ExceptionContextCatchBlock with get, private set
Public Property CatchBlock As ExceptionContextCatchBlock
    Get
    Private Set
End Property

Property Value

Type: System.Web.Http.ExceptionHandling.ExceptionContextCatchBlock

The catch block in which the exception was caught.

See Also

ExceptionContext Class
System.Web.Http.ExceptionHandling Namespace

Return to top