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
- scopeId
Type: System.Guid
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<IdentityScope>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.