共用方式為


BillingPaymentMethodCollection.GetAllAsync(CancellationToken) Method

Definition

Lists the payment methods owned by the caller.

  • Request Path: /providers/Microsoft.Billing/paymentMethods
  • Operation Id: PaymentMethods_ListByUser
  • Default Api Version: 2024-04-01
  • Resource: BillingPaymentMethodResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingPaymentMethodResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingPaymentMethodResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.BillingPaymentMethodResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BillingPaymentMethodResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of BillingPaymentMethodResource that may take multiple service requests to iterate over.

Applies to