IRoleStore<TRole>.CreateAsync Method

Insert a new role

Namespace:  Microsoft.AspNet.Identity
Assembly:  Microsoft.AspNet.Identity.Core (in Microsoft.AspNet.Identity.Core.dll)

Syntax

'Declaration
Function CreateAsync ( _
    role As TRole _
) As Task
'Usage
Dim instance As IRoleStore 
Dim role As TRole
Dim returnValue As Task 

returnValue = instance.CreateAsync(role)
Task CreateAsync(
    TRole role
)
Task^ CreateAsync(
    TRole role
)
abstract CreateAsync : 
        role:'TRole -> Task
function CreateAsync(
    role : TRole
) : Task

Parameters

Return Value

Type: System.Threading.Tasks.Task

See Also

Reference

IRoleStore<TRole> Interface

Microsoft.AspNet.Identity Namespace