EnableQueryAttribute.OnActionExecuted Method (HttpActionExecutedContext)
Performs the query composition after action is executed. It first tries to retrieve the IQueryable from the returning response message. It then validates the query from uri based on the validation settings on EnableQueryAttribute. It finally applies the query appropriately, and reset it back on the response message.
Namespace: System.Web.Http.OData
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public override void OnActionExecuted(
HttpActionExecutedContext actionExecutedContext
)
public:
virtual void OnActionExecuted(
HttpActionExecutedContext^ actionExecutedContext
) override
override OnActionExecuted :
actionExecutedContext:HttpActionExecutedContext -> unit
Public Overrides Sub OnActionExecuted (
actionExecutedContext As HttpActionExecutedContext
)
Parameters
actionExecutedContext
Type: System.Web.Http.Filters.HttpActionExecutedContextThe context related to this action, including the response message, request message and HttpConfiguration etc.
See Also
EnableQueryAttribute Class
System.Web.Http.OData Namespace
Return to top