Share via


LicensingHttpClient.AssignEntitlementAsync Method

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

Syntax

'Declaration
Public Overridable Function AssignEntitlementAsync ( _
    userId As Guid, _
    license As License, _
    userState As Object _
) As Task(Of AccountEntitlement)
public virtual Task<AccountEntitlement> AssignEntitlementAsync(
    Guid userId,
    License license,
    Object userState
)
public:
virtual Task<AccountEntitlement^>^ AssignEntitlementAsync(
    Guid userId, 
    License^ license, 
    Object^ userState
)
abstract AssignEntitlementAsync : 
        userId:Guid * 
        license:License * 
        userState:Object -> Task<AccountEntitlement> 
override AssignEntitlementAsync : 
        userId:Guid * 
        license:License * 
        userState:Object -> Task<AccountEntitlement> 
public function AssignEntitlementAsync(
    userId : Guid, 
    license : License, 
    userState : Object
) : Task<AccountEntitlement>

Parameters

Return Value

Type: System.Threading.Tasks.Task<AccountEntitlement>

.NET Framework Security

See Also

Reference

LicensingHttpClient Class

Microsoft.VisualStudio.Services.Licensing.Client Namespace