PackageInstallResult PackageInstallResult PackageInstallResult Class

Definition

Provides the results of an application install for a specified application package.

public : sealed class PackageInstallResult : IPackageInstallResult, IPackageInstallResult2
public sealed class PackageInstallResult : IPackageInstallResult, IPackageInstallResult2
Public NotInheritable Class PackageInstallResult Implements IPackageInstallResult, IPackageInstallResult2
Attributes
Windows 10 requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced v1)

Remarks

Instances of this class can be obtained through these APIs:

Properties

ErrorText ErrorText ErrorText

Gets the text of the error associated with the installation of the application package.

public : Platform::String ErrorText { get; }
public string ErrorText { get; }
Public ReadOnly Property ErrorText As string
Value
Platform::String string string

The text of the error associated with the installation of the application package.

InstallState InstallState InstallState

Gets the installation state of the application package.

public : PackageInstallState InstallState { get; }
public PackageInstallState InstallState { get; }
Public ReadOnly Property InstallState As PackageInstallState
Value
PackageInstallState PackageInstallState PackageInstallState

The installation state of the application package.

ProductId ProductId ProductId

Gets the unique identifier for the application package that installation state is provided for.

public : Platform::String ProductId { get; }
public string ProductId { get; }
Public ReadOnly Property ProductId As string
Value
Platform::String string string

The unique identifier for the application package that installation state is provided for.