Windows.Services.Store Windows.Services.Store Windows.Services.Store Windows.Services.Store Windows.Services.Store Namespace

Provides types and members you can use to access and manage Microsoft Store-related data for the current app. For example, you can use this namespace to get Microsoft Store listing and license info for the current app, purchase the current app or products that are offered by the app, or download and install package updates for the app.

Note

This namespace was introduced in Windows 10, version 1607, and it can only be used in projects that target Windows 10 Anniversary Edition (10.0; Build 14393) or a later release in Visual Studio. If your project targets an earlier version of Windows 10, you must use the Windows.ApplicationModel.Store namespace instead of the Windows.Services.Store namespace. For more information, see In-app purchases and trials.

Classes

StoreAcquireLicenseResult StoreAcquireLicenseResult StoreAcquireLicenseResult StoreAcquireLicenseResult StoreAcquireLicenseResult

Provides response data for a request to acquire the license for a downloadable content (DLC) add-on package for the current app.

StoreAppLicense StoreAppLicense StoreAppLicense StoreAppLicense StoreAppLicense

Provides license info for the current app, including licenses for products that are offered by the app.

StoreAvailability StoreAvailability StoreAvailability StoreAvailability StoreAvailability

Represents a specific instance of a product SKU that can be purchased.

StoreCanAcquireLicenseResult StoreCanAcquireLicenseResult StoreCanAcquireLicenseResult StoreCanAcquireLicenseResult StoreCanAcquireLicenseResult

Provides response data for a request to determine whether a license can be acquired for a downloadable content (DLC) add-on package.

StoreCollectionData StoreCollectionData StoreCollectionData StoreCollectionData StoreCollectionData

Provides additional data for a product SKU that the user has an entitlement to use.

StoreConsumableResult StoreConsumableResult StoreConsumableResult StoreConsumableResult StoreConsumableResult

Provides response data for a request that involves a consumable add-on for the current app.

StoreContext StoreContext StoreContext StoreContext StoreContext

Provides members you can use to access and manage Microsoft Store-related data for the current app. For example, you can use members of this class to get Microsoft Store listing and license info for the current app, purchase the current app or products that are offered by the app, or download and install package updates for the app.

StoreImage StoreImage StoreImage StoreImage StoreImage

Represents an image that is associated with a product listing in the Windows Store.

StoreLicense StoreLicense StoreLicense StoreLicense StoreLicense

Provides license info for a durable add-on that is associated with the current app.

StorePackageInstallOptions StorePackageInstallOptions StorePackageInstallOptions StorePackageInstallOptions StorePackageInstallOptions

Represents options that can be specified when using the RequestDownloadAndInstallStorePackagesAsync method to download and install downloadable content (DLC) packages for the current app.

StorePackageLicense StorePackageLicense StorePackageLicense StorePackageLicense StorePackageLicense

Provides license info for a downloadable content (DLC) package for the current app.

StorePackageUpdate StorePackageUpdate StorePackageUpdate StorePackageUpdate StorePackageUpdate

Provides info about a package for the current app that has an update available for download from the Microsoft Store.

StorePackageUpdateResult StorePackageUpdateResult StorePackageUpdateResult StorePackageUpdateResult StorePackageUpdateResult

Provides response data for a request to download and install a package for the current app.

StorePrice StorePrice StorePrice StorePrice StorePrice

Contains pricing info for a product listing in the Microsoft Store.

StoreProduct StoreProduct StoreProduct StoreProduct StoreProduct

Represents a product that is available in the Microsoft Store.

StoreProductOptions StoreProductOptions StoreProductOptions StoreProductOptions StoreProductOptions

Contains a collection of filter strings you can use with the GetStoreProductsAsync method to get info for the specified products that are associated with the current app.

StoreProductPagedQueryResult StoreProductPagedQueryResult StoreProductPagedQueryResult StoreProductPagedQueryResult StoreProductPagedQueryResult

Provides response data for a paged request to retrieve details about products that can be purchased from within the current app.

StoreProductQueryResult StoreProductQueryResult StoreProductQueryResult StoreProductQueryResult StoreProductQueryResult

Provides response data for a request to retrieve details about products that can be purchased from within the current app.

StoreProductResult StoreProductResult StoreProductResult StoreProductResult StoreProductResult

Provides response data for a request to retrieve details about the current app.

StorePurchaseProperties StorePurchaseProperties StorePurchaseProperties StorePurchaseProperties StorePurchaseProperties

Contains additional details that you can pass to a purchase request for a product, including the product name to display to the user during the purchase.

StorePurchaseResult StorePurchaseResult StorePurchaseResult StorePurchaseResult StorePurchaseResult

Provides response data for a request to purchase an app or product that is offered by the app.

StoreQueueItem StoreQueueItem StoreQueueItem StoreQueueItem StoreQueueItem

Represents info about a new or updated package that is in the download and installation queue for the current app.

StoreQueueItemCompletedEventArgs StoreQueueItemCompletedEventArgs StoreQueueItemCompletedEventArgs StoreQueueItemCompletedEventArgs StoreQueueItemCompletedEventArgs

Provides data for the Completed event of the StoreQueueItem class.

StoreQueueItemStatus StoreQueueItemStatus StoreQueueItemStatus StoreQueueItemStatus StoreQueueItemStatus

Provides status info for a new or updated package that is in the download and installation queue for the current app.

StoreRequestHelper StoreRequestHelper StoreRequestHelper StoreRequestHelper StoreRequestHelper

Provides a helper method that can be used to send requests to the Microsoft Store for operations that do not yet have a corresponding API available in the Windows SDK.

StoreSendRequestResult StoreSendRequestResult StoreSendRequestResult StoreSendRequestResult StoreSendRequestResult

Provides response data for a request that is sent to the Microsoft Store.

StoreSku StoreSku StoreSku StoreSku StoreSku

Provides info for a SKU of a product in the Microsoft Store.

StoreSubscriptionInfo StoreSubscriptionInfo StoreSubscriptionInfo StoreSubscriptionInfo StoreSubscriptionInfo

Provides subscription info for a product SKU that represents a subscription with recurring billing.

StoreUninstallStorePackageResult StoreUninstallStorePackageResult StoreUninstallStorePackageResult StoreUninstallStorePackageResult StoreUninstallStorePackageResult

Provides response data for a request to uninstall a package for the current app.

StoreVideo StoreVideo StoreVideo StoreVideo StoreVideo

Represents a video that is associated with a product listing in the Microsoft Store.

Structs

StorePackageUpdateStatus StorePackageUpdateStatus StorePackageUpdateStatus StorePackageUpdateStatus StorePackageUpdateStatus

Provides status info for a package that is associated with a download or installation request.

Enums

StoreCanLicenseStatus StoreCanLicenseStatus StoreCanLicenseStatus StoreCanLicenseStatus StoreCanLicenseStatus

Defines values that represent the license status for a downloadable content (DLC) add-on package.

StoreConsumableStatus StoreConsumableStatus StoreConsumableStatus StoreConsumableStatus StoreConsumableStatus

Defines values that represent the status of an request that is related to a consumable add-on.

StoreDurationUnit StoreDurationUnit StoreDurationUnit StoreDurationUnit StoreDurationUnit

Defines values that represent the units of a trial period or billing period for a subscription.

StorePackageUpdateState StorePackageUpdateState StorePackageUpdateState StorePackageUpdateState StorePackageUpdateState

Defines values that represent the state of a package download or installation request.

StorePurchaseStatus StorePurchaseStatus StorePurchaseStatus StorePurchaseStatus StorePurchaseStatus

Defines values that represent the status of a request to purchase an app or add-on.

StoreQueueItemExtendedState StoreQueueItemExtendedState StoreQueueItemExtendedState StoreQueueItemExtendedState StoreQueueItemExtendedState

Defines values that represent extended state info for a new or updated package that is in the download and installation queue for the current app.

StoreQueueItemKind StoreQueueItemKind StoreQueueItemKind StoreQueueItemKind StoreQueueItemKind

Defines values that describe the operation being performed for the current package in the download and installation queue.

StoreQueueItemState StoreQueueItemState StoreQueueItemState StoreQueueItemState StoreQueueItemState

Defines values that specify the state of a new or updated package that is in the download and installation queue for the current app.

StoreUninstallStorePackageStatus StoreUninstallStorePackageStatus StoreUninstallStorePackageStatus StoreUninstallStorePackageStatus StoreUninstallStorePackageStatus

Defines values that represent the status of a package uninstall request.

Remarks

The StoreContext class is the main entry point to the Windows.Services.Store namespace. Use members of this class to perform tasks such as getting Microsoft Store listing and license info for the current app, purchasing the current app or add-ons that are offered by the app, or downloading and installing package updates for the app. Other classes and types in this namespace represent items such as add-ons for the app, licenses for the app and its add-ons, and Microsoft Store listing info for the app.

See Also