PackageInstallResult PackageInstallResult PackageInstallResult Class

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

Syntax

Declaration

public sealed class PackageInstallResultpublic sealed class PackageInstallResultPublic NotInheritable Class PackageInstallResult

Remarks

Instances of this class can be obtained through these APIs:

Properties summary

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

Gets the installation state of the application package.

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

Properties

  • ErrorText
    ErrorText
    ErrorText
    ErrorText

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

    public string ErrorText { get; }public string ErrorText { get; }Public ReadOnly Property ErrorText As stringpublic string ErrorText { get; }

    Property Value

    • string
      string
      string

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

  • InstallState
    InstallState
    InstallState
    InstallState

    Gets the installation state of the application package.

    public PackageInstallState InstallState { get; }public PackageInstallState InstallState { get; }Public ReadOnly Property InstallState As PackageInstallStatepublic PackageInstallState InstallState { get; }

    Property Value

  • ProductId
    ProductId
    ProductId
    ProductId

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

    public string ProductId { get; }public string ProductId { get; }Public ReadOnly Property ProductId As stringpublic string ProductId { get; }

    Property Value

    • string
      string
      string

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

Device family

Windows Mobile Extension SDK (introduced v10.0.10240.0)

API contract

Windows.Phone.PhoneContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.Phone.Management.Deployment.dll