LicensingHttpClient.GetServiceRightsAsync Method

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

Syntax

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

LicensingHttpClient Class

Microsoft.VisualStudio.Services.Licensing.Client Namespace