命名空间: Microsoft.VisualStudio.Services.Licensing.Client
程序集: Microsoft.VisualStudio.Services.WebApi(在 Microsoft.VisualStudio.Services.WebApi.dll 中)
语法
声明
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
)
参数
- telemetryContext
类型:Microsoft.VisualStudio.Services.Licensing.ClientRightsTelemetryContext
- userState
类型:System.Object
返回值
类型:System.Threading.Tasks.Task<ClientRightsContainer>
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。