Partager via


IdentityHttpClient.GetScopeAsync Method (Guid, Object)

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

Syntax

'Declaration
Public Function GetScopeAsync ( _
    scopeId As Guid, _
    userState As Object _
) As Task(Of IdentityScope)
public Task<IdentityScope> GetScopeAsync(
    Guid scopeId,
    Object userState
)
public:
Task<IdentityScope^>^ GetScopeAsync(
    Guid scopeId, 
    Object^ userState
)
member GetScopeAsync : 
        scopeId:Guid * 
        userState:Object -> Task<IdentityScope> 
public function GetScopeAsync(
    scopeId : Guid, 
    userState : Object
) : Task<IdentityScope>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

IdentityHttpClient Class

GetScopeAsync Overload

Microsoft.VisualStudio.Services.Identity.Client Namespace