Share via


Marshal.ThrowExceptionForHR メソッド

特定の失敗 HRESULT 値を使用して例外をスローします。

オーバーロードの一覧

特定の失敗 HRESULT 値を使用して例外をスローします。

[Visual Basic] Overloads Public Shared Sub ThrowExceptionForHR(Integer)

[C#] public static void ThrowExceptionForHR(int);

[C++] public: static void ThrowExceptionForHR(int);

[JScript] public static function ThrowExceptionForHR(int);

特定のエラー HRESULT を使用して例外をスローします。

[Visual Basic] Overloads Public Shared Sub ThrowExceptionForHR(Integer, IntPtr)

[C#] public static void ThrowExceptionForHR(int, IntPtr);

[C++] public: static void ThrowExceptionForHR(int, IntPtr);

[JScript] public static function ThrowExceptionForHR(int, IntPtr);

参照

Marshal クラス | Marshal メンバ | System.Runtime.InteropServices 名前空間