Share via


ExceptionContext.ControllerContext Property

 

Gets the controller context in which the exception occurred, if available.

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

Syntax

public HttpControllerContext ControllerContext {
    [CompilerGeneratedAttribute]
    get;
    [CompilerGeneratedAttribute]
    set;
}
public:
property HttpControllerContext^ ControllerContext {
    [CompilerGeneratedAttribute]
    HttpControllerContext^ get();
    [CompilerGeneratedAttribute]
    void set(HttpControllerContext^ value);
}
member ControllerContext : HttpControllerContext with get, set
Public Property ControllerContext As HttpControllerContext

Property Value

Type: System.Web.Http.Controllers.HttpControllerContext

The controller context in which the exception occurred, if available.

See Also

ExceptionContext Class
System.Web.Http.ExceptionHandling Namespace

Return to top