共用方式為


UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>.SetNormalizedEmailAsync 方法

定義

設定指定 user 之 的正規化電子郵件。

public virtual System.Threading.Tasks.Task SetNormalizedEmailAsync (TUser user, string normalizedEmail, System.Threading.CancellationToken cancellationToken = default);
public virtual System.Threading.Tasks.Task SetNormalizedEmailAsync (TUser user, string? normalizedEmail, System.Threading.CancellationToken cancellationToken = default);
abstract member SetNormalizedEmailAsync : 'User * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SetNormalizedEmailAsync : 'User * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function SetNormalizedEmailAsync (user As TUser, normalizedEmail As String, Optional cancellationToken As CancellationToken = Nothing) As Task

參數

user
TUser

要設定其電子郵件地址的使用者。

normalizedEmail
String

要為指定 user 設定的正規化電子郵件。

cancellationToken
CancellationToken

用於散佈應取消作業通知的 CancellationToken

傳回

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

實作

適用於