[Mono-dev] [PATCH] Basic support for Marshal.GetHRForException
kornelpal at hotmail.com
Thu Jan 5 07:55:46 EST 2006
Exception.HResult can be used to identify exceptions (for example
IOException). Unfortunately this is a protected property and is only exposed
Marshal.GetHRForException should return this value in addition to calling
SetErrorInfo (COM support function). We have no COM interop support yet, so
I only implemented it as returning Exception.HResult.
Please review and approve the patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 912 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060105/2e183791/attachment.obj
More information about the Mono-devel-list