共用方式為


IdentityHttpClient.GetScopeAsync 方法 (Guid, Object)

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

語法

'宣告
Public Function GetScopeAsync ( _
    scopeId As Guid, _
    userState As Object _
) As Task(Of IdentityScope)
public Task<IdentityScope> GetScopeAsync(
    Guid scopeId,
    Object userState
)

參數

傳回值

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

.NET Framework 安全性

請參閱

參考

IdentityHttpClient 類別

GetScopeAsync 多載

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