ManagementException::ErrorCode Property
.NET Framework (current version)
Gets the error code reported by WMI, which caused this exception.
Assembly: System.Management (in System.Management.dll)
Property Value
Type: System.Management::ManagementStatusReturns a ManagementStatus enumeration value that contains the error code.
A ManagementStatus value representing the error code returned by the WMI operation.
Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
.NET Framework
Available since 1.1
Available since 1.1
Show: