ErrorCode property

The error code of the exception.

 Visual Basic syntax
 C# syntax