Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Asynchronously finds a role by ID.
Namespace: Microsoft.AspNet.Identity
Assembly: Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)
'Declaration
Function FindByIdAsync ( _
roleId As TKey _
) As Task(Of TRole)
'Usage
Dim instance As IRoleStore
Dim roleId As TKey
Dim returnValue As Task(Of TRole)
returnValue = instance.FindByIdAsync(roleId)
Task<TRole> FindByIdAsync(
TKey roleId
)
Task<TRole>^ FindByIdAsync(
TKey roleId
)
abstract FindByIdAsync :
roleId:'TKey -> Task<'TRole>
function FindByIdAsync(
roleId : TKey
) : Task<TRole>
- roleId
Type: TKey
The role ID.
Type: System.Threading.Tasks.Task<TRole>
The task representing the asynchronous operation.
IRoleStore<TRole, TKey> Interface