Click or drag to resize
IWishlistItemInfoProviderGetAsync Method
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#
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.
See Also