Class HttpActionExecutedContext
Represents the action of the HTTP executed context.
public class HttpActionExecutedContext
- Inheritance
-
HttpActionExecutedContext
- Inherited Members
Constructors
HttpActionExecutedContext()
Initializes a new instance of the HttpActionExecutedContext class.
public HttpActionExecutedContext()
HttpActionExecutedContext(HttpActionContext, Exception)
Initializes a new instance of the HttpActionExecutedContext class.
public HttpActionExecutedContext(HttpActionContext actionContext, Exception exception)
Parameters
actionContextHttpActionContextThe action context.
exceptionExceptionThe exception.
Properties
ActionContext
Gets or sets the HTTP action context.
public HttpActionContext ActionContext { get; set; }
Property Value
- HttpActionContext
The HTTP action context.
Exception
Gets or sets the exception that was raised during the execution.
public Exception Exception { get; set; }
Property Value
- Exception
The exception that was raised during the execution.
Request
Gets the HttpRequestMessage object for the context.
public HttpRequestMessage Request { get; }
Property Value
- HttpRequestMessage
The HttpRequestMessage object for the context.
Response
Gets or sets the HttpResponseMessage for the context.
public HttpResponseMessage Response { get; set; }
Property Value
- HttpResponseMessage
The HttpResponseMessage for the context.