This topic has not yet been rated - Rate this topic

Marshal.GetExceptionForHR Method

Converts an HRESULT error code to a corresponding Exception object.

Name Description
Marshal.GetExceptionForHR (Int32) Converts the specified HRESULT error code to a corresponding Exception object.

Supported by the .NET Compact Framework.

Marshal.GetExceptionForHR (Int32, IntPtr) Converts the specified HRESULT error code to a corresponding Exception object, with additional error information passed in an IErrorInfo interface for the exception object.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ