Gets the system error code that resulted in this exception, or 0 if not applicable.

Declaration Syntax
C# |
Visual Basic |
Visual C++ |
public int ErrorCode { get; }
Public ReadOnly Property ErrorCode As Integer
public:
property int ErrorCode {
int get ();
}
Assembly:
Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller) Version: 3.0.0.0 (3.5.1623.0)