Jaa


ICategoryOffersCollection.GetAsync Method

Definition

Overloads

GetAsync()

Asynchronously retrieves all the offers in the given offer category.

GetAsync(Int32, Int32)

Asynchronously retrieves a subset of offers in the given offer category.

GetAsync()

Asynchronously retrieves all the offers in the given offer category.

public System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.Offers.Offer>> GetAsync ();
abstract member GetAsync : unit -> System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.Offers.Offer>>
Public Function GetAsync () As Task(Of ResourceCollection(Of Offer))

Returns

The offers in the given offer category.

Implements

Applies to

GetAsync(Int32, Int32)

Asynchronously retrieves a subset of offers in the given offer category.

public System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.Offers.Offer>> GetAsync (int offset, int size);
abstract member GetAsync : int * int -> System.Threading.Tasks.Task<Microsoft.Store.PartnerCenter.Models.ResourceCollection<Microsoft.Store.PartnerCenter.Models.Offers.Offer>>
Public Function GetAsync (offset As Integer, size As Integer) As Task(Of ResourceCollection(Of Offer))

Parameters

offset
Int32

The starting index.

size
Int32

The maximum number of offers to return.

Returns

The requested segment of the offers in the given offer category.

Implements

Applies to