Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AuthorizationFilterAttribute::IAuthorizationFilter::ExecuteAuthorizationFilterAsync Method (HttpActionContext^, CancellationToken, Func<Task<HttpResponseMessage^>^>^)

 

Executes the authorization filter during synchronization.

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

private:
virtual Task<HttpResponseMessage^>^ ExecuteAuthorizationFilterAsync(
	HttpActionContext^ actionContext,
	CancellationToken cancellationToken,
	Func<Task<HttpResponseMessage^>^>^ continuation
) sealed = IAuthorizationFilter::ExecuteAuthorizationFilterAsync

Parameters

actionContext
Type: System.Web.Http.Controllers::HttpActionContext^

The action context, which encapsulates information for using AuthorizationFilterAttribute.

cancellationToken
Type: System.Threading::CancellationToken

The cancellation token that cancels the operation.

continuation
Type: System::Func<Task<HttpResponseMessage^>^>^

A continuation of the operation.

Return Value

Type: System.Threading.Tasks::Task<HttpResponseMessage^>^

The authorization filter during synchronization.

Return to top
Show: