Freigeben über


IdentityHttpClient.CreateScopeAsync Method

Namespace:  Microsoft.VisualStudio.Services.Identity.Client
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
Public Function CreateScopeAsync ( _
    scopeId As Guid, _
    parentScopeId As Guid, _
    scopeType As GroupScopeType, _
    scopeName As String, _
    adminGroupName As String, _
    adminGroupDescription As String, _
    creatorId As Guid, _
    userState As Object _
) As Task(Of IdentityScope)
public Task<IdentityScope> CreateScopeAsync(
    Guid scopeId,
    Guid parentScopeId,
    GroupScopeType scopeType,
    string scopeName,
    string adminGroupName,
    string adminGroupDescription,
    Guid creatorId,
    Object userState
)
public:
Task<IdentityScope^>^ CreateScopeAsync(
    Guid scopeId, 
    Guid parentScopeId, 
    GroupScopeType scopeType, 
    String^ scopeName, 
    String^ adminGroupName, 
    String^ adminGroupDescription, 
    Guid creatorId, 
    Object^ userState
)
member CreateScopeAsync : 
        scopeId:Guid * 
        parentScopeId:Guid * 
        scopeType:GroupScopeType * 
        scopeName:string * 
        adminGroupName:string * 
        adminGroupDescription:string * 
        creatorId:Guid * 
        userState:Object -> Task<IdentityScope> 
public function CreateScopeAsync(
    scopeId : Guid, 
    parentScopeId : Guid, 
    scopeType : GroupScopeType, 
    scopeName : String, 
    adminGroupName : String, 
    adminGroupDescription : String, 
    creatorId : Guid, 
    userState : Object
) : Task<IdentityScope>

Parameters

Return Value

Type: System.Threading.Tasks.Task<IdentityScope>

.NET Framework Security

See Also

Reference

IdentityHttpClient Class

Microsoft.VisualStudio.Services.Identity.Client Namespace