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

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
public virtual Task<SKUAllowedOptionInfo> GetAsync(
	int skuId,
	int skuOptionId,
	Nullable<CancellationToken> cancellationToken = null
)

Parameters

skuId
Type: SystemInt32
Product ID.
skuOptionId
Type: SystemInt32
Product option ID.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
The cancellation instruction.

Return Value

Type: TaskSKUAllowedOptionInfo
Returns a task returning either an instance of SKUAllowedOptionInfo corresponding to given identifiers or null.

Implements

ISKUAllowedOptionInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)
See Also