共用方式為


IdentityHttpClient.CreateScopeAsync 方法

命名空間:  Microsoft.VisualStudio.Services.Identity.Client
組件:  Microsoft.VisualStudio.Services.WebApi (在 Microsoft.VisualStudio.Services.WebApi.dll 中)

語法

'宣告
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
)

參數

傳回值

類型:System.Threading.Tasks.Task<IdentityScope>

.NET Framework 安全性

請參閱

參考

IdentityHttpClient 類別

Microsoft.VisualStudio.Services.Identity.Client 命名空間