StoreProductResult StoreProductResult StoreProductResult StoreProductResult StoreProductResult Class


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

public : sealed class StoreProductResult : IStoreProductResult
struct winrt::Windows::Services::Store::StoreProductResult : IStoreProductResult
public sealed class StoreProductResult : IStoreProductResult
Public NotInheritable Class StoreProductResult Implements IStoreProductResult
// This class does not provide a public constructor.
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Services.Store.StoreContract (introduced v1)


The StoreContext.GetStoreProductForCurrentAppAsync method returns an object of this type.


ExtendedError ExtendedError ExtendedError ExtendedError ExtendedError

Gets the error code for the request, if the operation encountered an error.

public : HResult ExtendedError { get; }
HResult ExtendedError();
public Exception ExtendedError { get; }
Public ReadOnly Property ExtendedError As Exception
var exception = storeProductResult.extendedError;
Exception Exception Exception

The error code for the request.

See Also

Product Product Product Product Product

Gets info about the current app.

public : StoreProduct Product { get; }
StoreProduct Product();
public StoreProduct Product { get; }
Public ReadOnly Property Product As StoreProduct
var storeProduct = storeProductResult.product;
StoreProduct StoreProduct StoreProduct

An object that provides info about the current app.