LicensingHttpClient.GetClientRightsContainerAsync Method
Namespace: Microsoft.VisualStudio.Services.Licensing.Client
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Overridable Function GetClientRightsContainerAsync ( _
queryContext As ClientRightsQueryContext, _
telemetryContext As ClientRightsTelemetryContext, _
userState As Object _
) As Task(Of ClientRightsContainer)
public virtual Task<ClientRightsContainer> GetClientRightsContainerAsync(
ClientRightsQueryContext queryContext,
ClientRightsTelemetryContext telemetryContext,
Object userState
)
public:
virtual Task<ClientRightsContainer^>^ GetClientRightsContainerAsync(
ClientRightsQueryContext^ queryContext,
ClientRightsTelemetryContext^ telemetryContext,
Object^ userState
)
abstract GetClientRightsContainerAsync :
queryContext:ClientRightsQueryContext *
telemetryContext:ClientRightsTelemetryContext *
userState:Object -> Task<ClientRightsContainer>
override GetClientRightsContainerAsync :
queryContext:ClientRightsQueryContext *
telemetryContext:ClientRightsTelemetryContext *
userState:Object -> Task<ClientRightsContainer>
public function GetClientRightsContainerAsync(
queryContext : ClientRightsQueryContext,
telemetryContext : ClientRightsTelemetryContext,
userState : Object
) : Task<ClientRightsContainer>
Parameters
- queryContext
Type: Microsoft.VisualStudio.Services.Licensing.ClientRightsQueryContext
- telemetryContext
Type: Microsoft.VisualStudio.Services.Licensing.ClientRightsTelemetryContext
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<ClientRightsContainer>
.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.