Click or drag to resize
IExchangeRateInfoProviderGetAsync Method (Int32, Int32, NullableCancellationToken)
Asynchronously gets an instance of the ExchangeRateInfo binding structure.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
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: TaskExchangeRateInfo
Returns a task returning either an instance of ExchangeRateInfo corresponding to given identifiers or null.
See Also