ErrorCode Property
The ErrorCode property of the SPException class gets an integer that identifies the exception.
Property Value
A 32-bit integer that identifies the exception.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security