Freigeben über


IdentityHttpClient.GetScopeAsync Method (String, Object)

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

Syntax

'Declaration
Public Function GetScopeAsync ( _
    scopeName As String, _
    userState As Object _
) As Task(Of IdentityScope)
public Task<IdentityScope> GetScopeAsync(
    string scopeName,
    Object userState
)
public:
Task<IdentityScope^>^ GetScopeAsync(
    String^ scopeName, 
    Object^ userState
)
member GetScopeAsync : 
        scopeName:string * 
        userState:Object -> Task<IdentityScope> 
public function GetScopeAsync(
    scopeName : String, 
    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