Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Asynchronously returns the current number of failed access attempts. This number usually will be reset whenever the password is verified or the account is locked out.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
'Declaration
Function GetAccessFailedCountAsync ( _
user As TUser _
) As Task(Of Integer)
'Usage
Dim instance As IUserLockoutStore
Dim user As TUser
Dim returnValue As Task(Of Integer)
returnValue = instance.GetAccessFailedCountAsync(user)
Task<int> GetAccessFailedCountAsync(
TUser user
)
Task<int>^ GetAccessFailedCountAsync(
TUser user
)
abstract GetAccessFailedCountAsync :
user:'TUser -> Task<int>
function GetAccessFailedCountAsync(
user : TUser
) : Task<int>
- user
Type: TUser
The user.
Type: System.Threading.Tasks.Task<Int32>
The task object representing the asynchronous operation.
IUserLockoutStore<TUser, TKey> Interface