RoleManager<TRole>.RemoveClaimAsync(TRole, Claim) Yöntem

Tanım

Rolden bir talebi kaldırır.

public:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Identity::IdentityResult ^> ^ RemoveClaimAsync(TRole role, System::Security::Claims::Claim ^ claim);
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult> RemoveClaimAsync (TRole role, System.Security.Claims.Claim claim);
abstract member RemoveClaimAsync : 'Role * System.Security.Claims.Claim -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
override this.RemoveClaimAsync : 'Role * System.Security.Claims.Claim -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.IdentityResult>
Public Overridable Function RemoveClaimAsync (role As TRole, claim As Claim) As Task(Of IdentityResult)

Parametreler

role
TRole

Talebin kaldırılacağı rol.

claim
Claim

Kaldırma talebi.

Döndürülenler

işlemini Task içeren zaman uyumsuz işlemi temsil eden IdentityResult .

Şunlara uygulanır