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