Share via


ExceptionHandlerContext.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 { get; }
public:
property ExceptionContextCatchBlock^ CatchBlock {
    ExceptionContextCatchBlock^ get();
}
member CatchBlock : ExceptionContextCatchBlock with get
Public ReadOnly Property CatchBlock As ExceptionContextCatchBlock

Property Value

Type: System.Web.Http.ExceptionHandling.ExceptionContextCatchBlock

The catch block in which the exception was caught.

See Also

ExceptionHandlerContext Class
System.Web.Http.ExceptionHandling Namespace

Return to top