IRoleStore<TRole, TKey>.DeleteAsync Method
Asynchronously deletes a role.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
'Declaration
Function DeleteAsync ( _
role As TRole _
) As Task
'Usage
Dim instance As IRoleStore
Dim role As TRole
Dim returnValue As Task
returnValue = instance.DeleteAsync(role)
Task DeleteAsync(
TRole role
)
Task^ DeleteAsync(
TRole role
)
abstract DeleteAsync :
role:'TRole -> Task
function DeleteAsync(
role : TRole
) : Task
Parameters
- role
Type: TRole
The role to delete.
Return Value
Type: System.Threading.Tasks.Task
The task representing the asynchronous operation.
See Also
Reference
IRoleStore<TRole, TKey> Interface
Microsoft.AspNet.Identity Namespace