LicensingHttpClient.GetUsageRightsAsync Method

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

Syntax

'Declaration
Public Overridable Function GetUsageRightsAsync ( _
    rightName As String, _
    userState As Object _
) As Task(Of IEnumerable(Of IUsageRight))
public virtual Task<IEnumerable<IUsageRight>> GetUsageRightsAsync(
    string rightName,
    Object userState
)
public:
virtual Task<IEnumerable<IUsageRight^>^>^ GetUsageRightsAsync(
    String^ rightName, 
    Object^ userState
)
abstract GetUsageRightsAsync : 
        rightName:string * 
        userState:Object -> Task<IEnumerable<IUsageRight>> 
override GetUsageRightsAsync : 
        rightName:string * 
        userState:Object -> Task<IEnumerable<IUsageRight>> 
public function GetUsageRightsAsync(
    rightName : String, 
    userState : Object
) : Task<IEnumerable<IUsageRight>>

Parameters

Return Value

Type: System.Threading.Tasks.Task<IEnumerable<IUsageRight>>

.NET Framework Security

See Also

Reference

LicensingHttpClient Class

Microsoft.VisualStudio.Services.Licensing.Client Namespace