Partager via


IOfferCollection.GetAsync Method

Definition

Overloads

GetAsync()

Asynchronously retrieves all the offers for the provided country.

GetAsync(Int32, Int32)

Asynchronously retrieves a subset of offers for the provided country.

GetAsync()

Asynchronously retrieves all the offers for the provided country.

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 for the provided country.

Implements

Applies to

GetAsync(Int32, Int32)

Asynchronously retrieves a subset of offers for the provided country.

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 for the given country.

Implements

Applies to