PackageInstallingEventArgs.ErrorCode Property

Definition

Gets the result of the package installation operation.

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

Property Value

The code for the error. S_OK if no error.

Applies to