IAuthorizationFilter.ExecuteAuthorizationFilterAsync Method
Executes the authorization filter to synchronize.
Namespace: System.Web.Http.Filters
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Function ExecuteAuthorizationFilterAsync ( _
actionContext As HttpActionContext, _
cancellationToken As CancellationToken, _
continuation As Func(Of Task(Of HttpResponseMessage)) _
) As Task(Of HttpResponseMessage)
'Usage
Dim instance As IAuthorizationFilter
Dim actionContext As HttpActionContext
Dim cancellationToken As CancellationToken
Dim continuation As Func(Of Task(Of HttpResponseMessage))
Dim returnValue As Task(Of HttpResponseMessage)
returnValue = instance.ExecuteAuthorizationFilterAsync(actionContext, _
cancellationToken, continuation)
Task<HttpResponseMessage> ExecuteAuthorizationFilterAsync(
HttpActionContext actionContext,
CancellationToken cancellationToken,
Func<Task<HttpResponseMessage>> continuation
)
Task<HttpResponseMessage^>^ ExecuteAuthorizationFilterAsync(
HttpActionContext^ actionContext,
CancellationToken cancellationToken,
Func<Task<HttpResponseMessage^>^>^ continuation
)
abstract ExecuteAuthorizationFilterAsync :
actionContext:HttpActionContext *
cancellationToken:CancellationToken *
continuation:Func<Task<HttpResponseMessage>> -> Task<HttpResponseMessage>
function ExecuteAuthorizationFilterAsync(
actionContext : HttpActionContext,
cancellationToken : CancellationToken,
continuation : Func<Task<HttpResponseMessage>>
) : Task<HttpResponseMessage>
Parameters
actionContext
Type: System.Web.Http.Controllers.HttpActionContextThe action context.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token associated with the filter.
continuation
Type: System.Func<Task<HttpResponseMessage>>The continuation.
Return Value
Type: System.Threading.Tasks.Task<HttpResponseMessage>
The authorization filter to synchronize.