IAuthenticationFilter.ChallengeAsync Method
Namespace: System.Web.Http.Filters
Assembly: System.Web.Http (in System.Web.Http.dll)
'Declaration
Function ChallengeAsync ( _
context As HttpAuthenticationChallengeContext, _
cancellationToken As CancellationToken _
) As Task
'Usage
Dim instance As IAuthenticationFilter
Dim context As HttpAuthenticationChallengeContext
Dim cancellationToken As CancellationToken
Dim returnValue As Task
returnValue = instance.ChallengeAsync(context, _
cancellationToken)
Task ChallengeAsync(
HttpAuthenticationChallengeContext context,
CancellationToken cancellationToken
)
Task^ ChallengeAsync(
HttpAuthenticationChallengeContext^ context,
CancellationToken cancellationToken
)
abstract ChallengeAsync :
context:HttpAuthenticationChallengeContext *
cancellationToken:CancellationToken -> Task
function ChallengeAsync(
context : HttpAuthenticationChallengeContext,
cancellationToken : CancellationToken
) : Task
- cancellationToken
Type: System.Threading.CancellationToken
Type: System.Threading.Tasks.Task