Product.ShowRedeemCodeAsync Method

Diplays the redeem code user interface for entering a redeem code.

Redeem codes are 5x5 keys or QR codes that provide discounts or special offers. The user shows the code to the sensor while this user interface is displayed.

Syntax

public:
static IAsyncAction^ ShowRedeemCodeAsync(
         IUser^ user,
         String^ offer
)  

Parameters

user
Type: IUser 

The user making the request.

offer
Type: String 

 The offer the redeem code is associated with. Pass a blank string if the offer is unknown.

Return value

Type: IAsyncAction 

Returns an IAsyncAction object that represents the state of the asynchronous operation. Completion of the asynchronous operation is signaled by using a handler that is passed to the IAsyncAction.Completed property.

Requirements

Namespace: Windows.Xbox.ApplicationModel.Store

Metadata: windows.winmd

See also

Reference

Product Class

Product Members

Windows.Xbox.ApplicationModel.Store Namespace