IUserLockoutStore<TUser>.IncrementAccessFailedCountAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Records that a failed access has occurred, incrementing the failed access count.
public:
System::Threading::Tasks::Task<int> ^ IncrementAccessFailedCountAsync(TUser user, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<int> IncrementAccessFailedCountAsync (TUser user, System.Threading.CancellationToken cancellationToken);
abstract member IncrementAccessFailedCountAsync : 'User * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int>
Public Function IncrementAccessFailedCountAsync (user As TUser, cancellationToken As CancellationToken) As Task(Of Integer)
Parameters
- user
- TUser
The user whose cancellation count should be incremented.
- cancellationToken
- CancellationToken
The CancellationToken used to propagate notifications that the operation should be canceled.
Returns
The Task that represents the asynchronous operation, containing the incremented failed access count.