IUserEmailStore<TUser>.GetNormalizedEmailAsync 方法

定义

返回指定 user的规范化电子邮件。

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

参数

user
TUser

要检索其电子邮件地址的用户。

cancellationToken
CancellationToken

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

返回

包含异步查找操作结果的任务对象,如果与指定用户关联,则为规范化电子邮件地址。

适用于