I need Hresult to determin kind of exception and show user the apptopriate
message......
in some situations the exception is the same but the message are
diffrent..i
need hresult to get the correct exeption
"Nicholas Paldino [.NET/C# MVP]" <
[email protected]>
wrote
in
message perspolis,
You mean the HRESULT that it stores? I would not store that, nor can
I
think of a situation why you really need it. It doesn't uniquely
identify
the type of exception (there is a many to one relationship between the
HRESULT and the exception type).
What are you trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
I need to know the Exception number when an exeption
arise..
but the exception number is protected ..how can i access this number
when
an
exeption arise.. and also I don't want to inherit that exception..