![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
Deployment Tools Foundation
ErrorCode Property
Gets the system error code that resulted in this exception, or 0 if not applicable.
![](collapse_all.gif)
C# | Visual Basic | Visual C++ | F# |
public int ErrorCode { get; }
Public ReadOnly Property ErrorCode As Integer Get
public: property int ErrorCode { int get (); }
member ErrorCode : int with get
![](collapse_all.gif)
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)