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

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

Parameters

userId
Type: SystemInt32
User ID.
skuId
Type: SystemInt32
Product ID.
siteId
Type: SystemInt32
Site ID.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
The cancellation instruction.

Return Value

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

Implements

IWishlistItemInfoProviderGetAsync(Int32, Int32, Int32, NullableCancellationToken)
See Also