.Net Framework > v2.0.50727 > System > Runtime > InteropServices > Marshal > GetExceptionForHR GetExceptionForHR(Int32)
GetExceptionForHR(Int32,IntPtr)


GetExceptionForHR(Int32)

Category
Method
Description
Converts the specified HRESULT error code to a corresponding System.Exception object.
Type
Exception
Character
public, static
Parameters
NameTypeDescription
errorCodeInt32
Tags
01892ABD01, 02E3ABA98D, 0376596F91

GetExceptionForHR(Int32,IntPtr)

Category
Method
Description
Converts the specified HRESULT error code to a corresponding System.Exception object, with additional error information passed in an IErrorInfo interface for the exception object.
Type
Exception
Character
public, static
Parameters
NameTypeDescription
errorCodeInt32
errorInfoIntPtr
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database