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; }

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