Freigeben über


PrivateStoreCollectionInfoResource.GetPrivateStoreCollectionOffersByContextsAsync Methode

Definition

Rufen Sie eine Liste aller Angebote in der angegebenen Auflistung gemäß den erforderlichen Kontexten ab.

  • Anforderungspfad/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/mapOffersToContexts
  • Vorgangs-IdPrivateStoreCollectionOffer_ListByContexts
public virtual Azure.AsyncPageable<Azure.ResourceManager.Marketplace.Models.CollectionOffersByContext> GetPrivateStoreCollectionOffersByContextsAsync (Azure.ResourceManager.Marketplace.Models.CollectionOffersByAllContextsPayload payload = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPrivateStoreCollectionOffersByContextsAsync : Azure.ResourceManager.Marketplace.Models.CollectionOffersByAllContextsPayload * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Marketplace.Models.CollectionOffersByContext>
override this.GetPrivateStoreCollectionOffersByContextsAsync : Azure.ResourceManager.Marketplace.Models.CollectionOffersByAllContextsPayload * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Marketplace.Models.CollectionOffersByContext>
Public Overridable Function GetPrivateStoreCollectionOffersByContextsAsync (Optional payload As CollectionOffersByAllContextsPayload = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CollectionOffersByContext)

Parameter

payload
CollectionOffersByAllContextsPayload

Die zu verwendende CollectionOffersByAllContextsPayload.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Auflistung von CollectionOffersByContext , die mehrere Dienstanforderungen durchlaufen kann.

Gilt für: