Share via


IUserLockoutStore<TUser, TKey>.IncrementAccessFailedCountAsync Method

Used to record when an attempt to access the user has failed.

Namespace:  Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

Syntax

'Declaration
Function IncrementAccessFailedCountAsync ( _
    user As TUser _
) As Task(Of Integer)
'Usage
Dim instance As IUserLockoutStore 
Dim user As TUser
Dim returnValue As Task(Of Integer)

returnValue = instance.IncrementAccessFailedCountAsync(user)
Task<int> IncrementAccessFailedCountAsync(
    TUser user
)
Task<int>^ IncrementAccessFailedCountAsync(
    TUser user
)
abstract IncrementAccessFailedCountAsync : 
        user:'TUser -> Task<int> 
function IncrementAccessFailedCountAsync(
    user : TUser
) : Task<int>

Parameters

  • user
    Type: TUser
    The user.

Return Value

Type: System.Threading.Tasks.Task<Int32>
The task object representing the asynchronous operation.

See Also

Reference

IUserLockoutStore<TUser, TKey> Interface

Microsoft.AspNet.Identity Namespace

Other Resources

ASP.NET Identity