Delen via


UserManager<TUser>.UpdateAsync(TUser) Method

Definition

Updates the specified user in the backing store.

public:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Identity::IdentityResult ^> ^ UpdateAsync(TUser user);
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult> UpdateAsync (TUser user);
abstract member UpdateAsync : 'User -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
override this.UpdateAsync : 'User -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
Public Overridable Function UpdateAsync (user As TUser) As Task(Of IdentityResult)

Parameters

user
TUser

The user to update.

Returns

The Task that represents the asynchronous operation, containing the IdentityResult of the operation.

Applies to