VariantOptionInfoProviderGetAsync Method (Int32, Int32, NullableCancellationToken) |
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax 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:
TaskVariantOptionInfoReturns a task returning either an instance of
VariantOptionInfo corresponding to given identifiers or null.
Implements
IVariantOptionInfoProviderGetAsync(Int32, Int32, NullableCancellationToken)See Also