AppInstallStatus.ErrorCode Property

Definition

Gets the error code for an app that has encountered an installation failure.

public:
 property HResult ErrorCode { HResult get(); };
HResult ErrorCode();
public System.Exception ErrorCode { get; }
var hResult = appInstallStatus.errorCode;
Public ReadOnly Property ErrorCode As Exception

Property Value

The error code for an app that has encountered an installation failure.

Windows requirements

App capabilities
runFullTrust

Applies to