ManagementException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents management exceptions.
public ref class ManagementException : SystemException
public class ManagementException : SystemException
type ManagementException = class
inherit SystemException
Public Class ManagementException
Inherits SystemException
- Inheritance
Constructors
| Name | Description |
|---|---|
| ManagementException() |
Initializes a new instance of the ManagementException class. |
| ManagementException(SerializationInfo, StreamingContext) |
Obsolete.
Initializes a new instance of the ManagementException class that is serializable. |
| ManagementException(String, Exception) |
Initializes an empty new instance of the ManagementException class. If the |
| ManagementException(String) |
Initializes a new instance of the ManagementException class with a specified error message. |
Properties
| Name | Description |
|---|---|
| ErrorCode |
Gets the error code reported by WMI, which caused this exception. |
| ErrorInformation |
Gets the extended error object provided by WMI. |
Methods
| Name | Description |
|---|---|
| GetObjectData(SerializationInfo, StreamingContext) |
Obsolete.
Populates the SerializationInfo with the data needed to serialize the ManagementException. |