IUserEmailStore<TUser>.SetNormalizedEmailAsync 方法

定义

为指定的 user设置规范化电子邮件。

public:
 System::Threading::Tasks::Task ^ SetNormalizedEmailAsync(TUser user, System::String ^ normalizedEmail, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task SetNormalizedEmailAsync (TUser user, string normalizedEmail, System.Threading.CancellationToken cancellationToken);
public System.Threading.Tasks.Task SetNormalizedEmailAsync (TUser user, string? normalizedEmail, System.Threading.CancellationToken cancellationToken);
abstract member SetNormalizedEmailAsync : 'User * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function SetNormalizedEmailAsync (user As TUser, normalizedEmail As String, cancellationToken As CancellationToken) As Task

参数

user
TUser

要设置其电子邮件地址的用户。

normalizedEmail
String

要为指定的 user设置的规范化电子邮件。

cancellationToken
CancellationToken

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

返回

表示异步操作的任务对象。

适用于