IRoleStore<TRole, TKey>.FindByIdAsync Method (TKey)
Asynchronously finds a role by ID.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
Syntax
Task<TRole> FindByIdAsync(
TKey roleId
)
Task<TRole>^ FindByIdAsync(
TKey roleId
)
abstract FindByIdAsync :
roleId:'TKey -> Task<'TRole>
Function FindByIdAsync (
roleId As TKey
) As Task(Of TRole)
Parameters
roleId
Type: TKeyThe role ID.
Return Value
Type: System.Threading.Tasks.Task<TRole>
The task representing the asynchronous operation.
See Also
IRoleStore<TRole, TKey> Interface
Microsoft.AspNet.Identity Namespace
ASP.NET Identity
Return to top