The error code of the exception.
Visual Basic Public Readonly Property ErrorCode As Integer
C# public int ErrorCode {get;}