ExchangeRateInfoProviderGetAsync Method (Int32, Int32, NullableCancellationToken) |
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax public virtual Task<ExchangeRateInfo> GetAsync(
int currencyId,
int exchangeTableId,
Nullable<CancellationToken> cancellationToken = null
)
Parameters
- currencyId
- Type: SystemInt32
Currency ID. - exchangeTableId
- Type: SystemInt32
Exchange table ID. - cancellationToken (Optional)
- Type: SystemNullableCancellationToken
The cancellation instruction.
Return Value
Type:
TaskExchangeRateInfoReturns a task returning either an instance of
ExchangeRateInfo corresponding to given identifiers or null.
Implements
IExchangeRateInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)See Also