Jon,
There is no such thing as an error number anymore (like in VB). You
should catch exceptions based on their type, and then, if the type exposes
it, get additional information based on the properties/methods exposed by
the exception instance.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Jon Turner" <jj@mail.com> wrote in message
news:Oy**************@TK2MSFTNGP05.phx.gbl...
How do you get an underlying Error number from an exception. I want to
test for error numbers instead
of strings ?
Many TIA's