IUserPhoneNumberStore<TUser>.SetPhoneNumberConfirmedAsync 方法

定义

设置一个标志,指示指定的 user电话号码是否已确认。

public:
 System::Threading::Tasks::Task ^ SetPhoneNumberConfirmedAsync(TUser user, bool confirmed, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task SetPhoneNumberConfirmedAsync (TUser user, bool confirmed, System.Threading.CancellationToken cancellationToken);
abstract member SetPhoneNumberConfirmedAsync : 'User * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SetPhoneNumberConfirmedAsync (user As TUser, confirmed As Boolean, cancellationToken As CancellationToken) As Task

参数

user
TUser

应设置其电话号码确认状态的用户。

confirmed
Boolean

指示是否已确认用户的电话号码的标志。

cancellationToken
CancellationToken

CancellationToken,用于传播应取消操作的通知。

返回

表示异步操作的 Task

适用于