UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim>.IncrementAccessFailedCountAsync Method
Asynchronously records the failed attempt to access the user.
Namespace: Microsoft.AspNet.Identity.EntityFramework
Assembly: Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)
'Declaration
Public Function IncrementAccessFailedCountAsync ( _
user As TUser _
) As Task(Of Integer)
'Usage
Dim instance As UserStore
Dim user As TUser
Dim returnValue As Task(Of Integer)
returnValue = instance.IncrementAccessFailedCountAsync(user)
public Task<int> IncrementAccessFailedCountAsync(
TUser user
)
public:
virtual Task<int>^ IncrementAccessFailedCountAsync(
TUser user
) sealed
abstract IncrementAccessFailedCountAsync :
user:'TUser -> Task<int>
override IncrementAccessFailedCountAsync :
user:'TUser -> Task<int>
public final function IncrementAccessFailedCountAsync(
user : TUser
) : Task<int>
- user
Type: TUser
The user.
Type: System.Threading.Tasks.Task<Int32>
The task representing the asynchronous operation.
IUserLockoutStore<TUser, TKey>.IncrementAccessFailedCountAsync(TUser)
UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class