diff --git a/windows.services.store/storecontext_getapplicenseasync_1472711008.md b/windows.services.store/storecontext_getapplicenseasync_1472711008.md index f70be8db6..f0517b410 100644 --- a/windows.services.store/storecontext_getapplicenseasync_1472711008.md +++ b/windows.services.store/storecontext_getapplicenseasync_1472711008.md @@ -15,6 +15,12 @@ Gets license info for the current app, including licenses for add-ons for the cu ## -returns An asynchronous operation that, on successful completion, returns a [StoreAppLicense](storeapplicense.md) object that contains license info for the current app, including add-on licenses. +## -exceptions + +### T:System.Runtime.InteropServices.COMException + +If the **ErrorCode** property of the exception has the value 0x80070490 (ERROR_NOT_FOUND), this indicates that the app license could not be found or retrieved. + ## -remarks The [StoreAppLicense](storeapplicense.md) object returned by this method provides access to licenses for add-ons and other info, such as whether the license is active. If this method is called while the device is offline, it returns the cached value of the current licenses on the device. The [OfflineLicensesChanged](storecontext_offlinelicenseschanged.md) event is raised when the status of the app's license changes.