This documentation is archived and is not being maintained.

Marshal.ThrowExceptionForHR Method

Throws an exception with a specific failure HRESULT value.

Name Description
Marshal.ThrowExceptionForHR (Int32) Throws an exception with a specific failure HRESULT value.

Supported by the .NET Compact Framework.

Marshal.ThrowExceptionForHR (Int32, IntPtr) Throws an exception with a specific failure HRESULT.

Supported by the .NET Compact Framework.

Show: