IOfferAddOns.GetAsync 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.
Overloads
GetAsync() |
Asynchronously retrieves all add-ons for the provided offer. |
GetAsync(Int32, Int32) |
Asynchronously retrieves a subset of add-ons for the provided offer. |
GetAsync()
Asynchronously retrieves all add-ons for the provided offer.
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 offer add-ons.
Implements
Applies to
GetAsync(Int32, Int32)
Asynchronously retrieves a subset of add-ons for the provided offer.
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 offer add-ons to return.
Returns
The requested segment of the offer add-ons.