Product.ShowSubscriptionAsync Method

Displays the subscription UI.

Syntax

public:
static IAsyncAction^ ShowSubscriptionAsync(
         IUser^ user,
         String^ productId,
         uint32 privilegeId
)  

Parameters

user
Type: IUser 

The user making the request.

productId
Type: String 

 The ID of the product. This value comes from the product information set up on Xbox Developer Portal

privilegeId
Type: uint32 

 The privilege to check. Supported privileges are listed in KnownPrivileges.

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