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

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

Parameters

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

Return Value

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

Implements

IVariantOptionInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)
See Also