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
- scopeName
Type: System.String
- 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.