共用方式為


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

傳回

工作物件,表示非同步作業。

適用於