Click or drag to resize
ExchangeRateInfoProviderGetAsync 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#
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: TaskExchangeRateInfo
Returns a task returning either an instance of ExchangeRateInfo corresponding to given identifiers or null.

Implements

IExchangeRateInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)
See Also