IUserStore<TUser>.UpdateAsync(TUser, CancellationToken) Metodo

Definizione

Aggiornamenti specificato nell'archivio user utenti.

public:
 System::Threading::Tasks::Task<Microsoft::AspNetCore::Identity::IdentityResult ^> ^ UpdateAsync(TUser user, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult> UpdateAsync (TUser user, System.Threading.CancellationToken cancellationToken);
abstract member UpdateAsync : 'User * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
Public Function UpdateAsync (user As TUser, cancellationToken As CancellationToken) As Task(Of IdentityResult)

Parametri

user
TUser

Utente da aggiornare.

cancellationToken
CancellationToken

Oggetto CancellationToken usato per propagare le notifiche di richiesta di annullamento dell'operazione.

Restituisce

Oggetto Task che rappresenta l'operazione asincrona contenente l'operazione IdentityResult di aggiornamento.

Si applica a