LicensingHttpClient.AssignAvailableEntitlementAsync Method

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

Syntax

'Declaration
Public Overridable Function AssignAvailableEntitlementAsync ( _
    userId As Guid, _
    userState As Object _
) As Task(Of AccountEntitlement)
public virtual Task<AccountEntitlement> AssignAvailableEntitlementAsync(
    Guid userId,
    Object userState
)
public:
virtual Task<AccountEntitlement^>^ AssignAvailableEntitlementAsync(
    Guid userId, 
    Object^ userState
)
abstract AssignAvailableEntitlementAsync : 
        userId:Guid * 
        userState:Object -> Task<AccountEntitlement> 
override AssignAvailableEntitlementAsync : 
        userId:Guid * 
        userState:Object -> Task<AccountEntitlement> 
public function AssignAvailableEntitlementAsync(
    userId : Guid, 
    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