IUserStore<TUser>.UpdateAsync(TUser, CancellationToken) Yöntem

Tanım

Kullanıcı deposunda belirtilen user öğesini Güncelleştirmeler.

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)

Parametreler

user
TUser

Güncelleştirilecek kullanıcı.

cancellationToken
CancellationToken

İşlemin CancellationToken iptal edilmesi gerektiğine ilişkin bildirimleri yaymak için kullanılır.

Döndürülenler

güncelleştirme Task işlemini içeren zaman uyumsuz işlemi temsil eder IdentityResult .

Şunlara uygulanır