次の方法で共有


ManagementException.ErrorCode プロパティ

WMI (Windows Management Instrumentation) がレポートする、例外の原因となったエラー コードを取得します。

Public ReadOnly Property ErrorCode As ManagementStatus
[C#]
public ManagementStatus ErrorCode {get;}
[C++]
public: __property ManagementStatus get_ErrorCode();
[JScript]
public function get ErrorCode() : ManagementStatus;

プロパティ値

WMI 操作によって返されたエラー コードを表す ManagementStatus 値。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

ManagementException クラス | ManagementException メンバ | System.Management 名前空間