ExternalException クラス
アセンブリ: mscorlib (mscorlib.dll 内)
構文
<SerializableAttribute> _ <ComVisibleAttribute(True)> _ Public Class ExternalException Inherits SystemException
[SerializableAttribute] [ComVisibleAttribute(true)] public class ExternalException : SystemException
[SerializableAttribute] [ComVisibleAttribute(true)] public ref class ExternalException : public SystemException
レガシ システムと共通言語ランタイム間で相互運用性を高めるために、ErrorCode プロパティは、エラーを識別するための整数値 (HRESULT) を格納します。ユーザー定義例外を ExternalException から派生したり、ExternalException をユーザー コードによってスローしたりしないでください。代わりに、ExternalException から派生する固有の例外を使用してください。
ExternalException は、0x80004005 の値を持つ HRESULT E_FAIL を使用します。
ExternalException は、Equals メソッドの既定の実装を使用します。この実装では、参照が等値かどうかを判断できます。
ExternalException インスタンスの初期値のリストについては、ExternalException コンストラクタのトピックを参照してください。
System.Exception
System.SystemException
System.Runtime.InteropServices.ExternalException
派生クラス
プラットフォーム
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
- ExternalException クラスのページへのリンク