IEntitlementCollection.GetAsync(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An asynchronous operation to retrieve the entitlements for a customer.
public System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.Entitlements.Entitlement>> GetAsync (bool showExpiry);
abstract member GetAsync : bool -> System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.Entitlements.Entitlement>>
Public Function GetAsync (showExpiry As Boolean) As Task(Of ResourceCollection(Of Entitlement))
Parameters
- showExpiry
- Boolean
A flag to indicate if the expiry date is required to be returned along with the entitlement (if applicable).
Returns
The collection of entitlements for the customer.