DirectoryServicesCOMException クラス
アセンブリ: System.DirectoryServices (system.directoryservices.dll 内)
構文
<SerializableAttribute> _ Public Class DirectoryServicesCOMException Inherits COMException Implements ISerializable
[SerializableAttribute] public ref class DirectoryServicesCOMException : public COMException, ISerializable
System.Exception
System.SystemException
System.Runtime.InteropServices.ExternalException
System.Runtime.InteropServices.COMException
System.DirectoryServices.DirectoryServicesCOMException
プラットフォーム
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
DirectoryServicesCOMException コンストラクタ ()
アセンブリ: System.DirectoryServices (system.directoryservices.dll 内)
構文
プラットフォーム
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
DirectoryServicesCOMException コンストラクタ (String)
アセンブリ: System.DirectoryServices (system.directoryservices.dll 内)
構文
プラットフォーム
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
DirectoryServicesCOMException コンストラクタ (SerializationInfo, StreamingContext)
アセンブリ: System.DirectoryServices (system.directoryservices.dll 内)
構文
Dim info As SerializationInfo Dim context As StreamingContext Dim instance As New DirectoryServicesCOMException(info, context)
protected function DirectoryServicesCOMException ( info : SerializationInfo, context : StreamingContext )
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
DirectoryServicesCOMException コンストラクタ (String, Exception)
アセンブリ: System.DirectoryServices (system.directoryservices.dll 内)
構文
Dim message As String Dim inner As Exception Dim instance As New DirectoryServicesCOMException(message, inner)
パラメータ
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
関連項目
DirectoryServicesCOMException クラスDirectoryServicesCOMException メンバ
System.DirectoryServices 名前空間
DirectoryServicesCOMException コンストラクタ
オーバーロードの一覧
名前 | 説明 |
---|---|
DirectoryServicesCOMException () | DirectoryServicesCOMException クラスの新しいインスタンスを初期化します。 |
DirectoryServicesCOMException (String) | 文字列を指定して、DirectoryServicesCOMException クラスの新しいインスタンスを初期化します。 |
DirectoryServicesCOMException (SerializationInfo, StreamingContext) | 指定したシリアル化情報とストリーム コンテキストを使用して、DirectoryServicesCOMException クラスの新しいインスタンスを初期化します。 |
DirectoryServicesCOMException (String, Exception) |
関連項目
DirectoryServicesCOMException クラスDirectoryServicesCOMException メンバ
System.DirectoryServices 名前空間
DirectoryServicesCOMException プロパティ
パブリック プロパティ
名前 | 説明 | |
---|---|---|
Data | 例外に関する追加のユーザー定義情報を提供するキー/値ペアのコレクションを取得します。 ( Exception から継承されます。) | |
ErrorCode | エラーの HRESULT を取得します。 ( ExternalException から継承されます。) | |
ExtendedError | 拡張エラー コードを取得します。 | |
ExtendedErrorMessage | 拡張エラー メッセージを取得します。 | |
HelpLink | 例外に関連付けられているヘルプ ファイルへのリンクを取得または設定します。 ( Exception から継承されます。) | |
InnerException | 現在の例外を発生させた Exception インスタンスを取得します。 ( Exception から継承されます。) | |
Message | 現在の例外を説明するメッセージを取得します。 ( Exception から継承されます。) | |
Source | エラーの原因となったアプリケーションまたはオブジェクトの名前を取得または設定します。 ( Exception から継承されます。) | |
StackTrace | 現在の例外がスローされたときにコール スタックにあったフレームの文字列形式を取得します。 ( Exception から継承されます。) | |
TargetSite | 現在の例外をスローするメソッドを取得します。 ( Exception から継承されます。) |
参照
DirectoryServicesCOMException メソッド
パブリック メソッド
名前 | 説明 | |
---|---|---|
Equals | オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 ( Object から継承されます。) | |
GetBaseException | 派生クラスでオーバーライドされた場合、それ以後に発生する 1 つ以上の例外の主要な原因である Exception を返します。 ( Exception から継承されます。) | |
GetHashCode | 特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 ( Object から継承されます。) | |
GetObjectData | オーバーライドされます。 DirectoryServicesCOMException オブジェクトをシリアル化するために必要なデータを SerializationInfo オブジェクトに挿入します。 | |
GetType | 現在のインスタンスのランタイム型を取得します。 ( Exception から継承されます。) | |
ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 ( Object から継承されます。) | |
ToString | 例外の内容を文字列に変換します。 ( COMException から継承されます。) |
名前 | 説明 | |
---|---|---|
Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 ( Object から継承されます。) | |
MemberwiseClone | 現在の Object の簡易コピーを作成します。 ( Object から継承されます。) |
DirectoryServicesCOMException メンバ
Invoke メソッドが呼び出されたときに発生するエラーに関する拡張エラー情報が格納されています。
DirectoryServicesCOMException データ型で公開されるメンバを以下の表に示します。
パブリック コンストラクタ
名前 | 説明 | |
---|---|---|
DirectoryServicesCOMException | オーバーロードされます。 DirectoryServicesCOMException クラスの新しいインスタンスを初期化します。 |
名前 | 説明 | |
---|---|---|
DirectoryServicesCOMException | オーバーロードされます。 DirectoryServicesCOMException クラスの新しいインスタンスを初期化します。 |
名前 | 説明 | |
---|---|---|
Data | 例外に関する追加のユーザー定義情報を提供するキー/値ペアのコレクションを取得します。(Exception から継承されます。) | |
ErrorCode | エラーの HRESULT を取得します。(ExternalException から継承されます。) | |
ExtendedError | 拡張エラー コードを取得します。 | |
ExtendedErrorMessage | 拡張エラー メッセージを取得します。 | |
HelpLink | 例外に関連付けられているヘルプ ファイルへのリンクを取得または設定します。(Exception から継承されます。) | |
InnerException | 現在の例外を発生させた Exception インスタンスを取得します。(Exception から継承されます。) | |
Message | 現在の例外を説明するメッセージを取得します。(Exception から継承されます。) | |
Source | エラーの原因となったアプリケーションまたはオブジェクトの名前を取得または設定します。(Exception から継承されます。) | |
StackTrace | 現在の例外がスローされたときにコール スタックにあったフレームの文字列形式を取得します。(Exception から継承されます。) | |
TargetSite | 現在の例外をスローするメソッドを取得します。(Exception から継承されます。) |
パブリック メソッド
名前 | 説明 | |
---|---|---|
Equals | オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 (Object から継承されます。) | |
GetBaseException | 派生クラスでオーバーライドされた場合、それ以後に発生する 1 つ以上の例外の主要な原因である Exception を返します。 (Exception から継承されます。) | |
GetHashCode | 特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 (Object から継承されます。) | |
GetObjectData | オーバーライドされます。 DirectoryServicesCOMException オブジェクトをシリアル化するために必要なデータを SerializationInfo オブジェクトに挿入します。 | |
GetType | 現在のインスタンスのランタイム型を取得します。 (Exception から継承されます。) | |
ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。) | |
ToString | 例外の内容を文字列に変換します。 (COMException から継承されます。) |
名前 | 説明 | |
---|---|---|
Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 (Object から継承されます。) | |
MemberwiseClone | 現在の Object の簡易コピーを作成します。 (Object から継承されます。) |
- DirectoryServicesCOMExceptionのページへのリンク