SignInManager<TUser>.LockedOut(TUser) 方法

定义

返回锁定的 SignInResult。

protected:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Identity::SignInResult ^> ^ LockedOut(TUser user);
protected virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult> LockedOut (TUser user);
abstract member LockedOut : 'User -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult>
override this.LockedOut : 'User -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult>
Protected Overridable Function LockedOut (user As TUser) As Task(Of SignInResult)

参数

user
TUser

用户。

返回

已锁定的 SignInResult

适用于