Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Marshal::ThrowExceptionForHR Method

 

Throws an exception with a specific failure HRESULT value.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticThrowExceptionForHR(Int32)

Throws an exception with a specific failure HRESULT value.

System_CAPS_pubmethodSystem_CAPS_staticThrowExceptionForHR(Int32, IntPtr)

Throws an exception with a specific failure HRESULT, based on the specified IErrorInfo interface.

Return to top
Show:
© 2017 Microsoft