ManagementBaseObject Class
.NET Framework 4.5
Contains the basic elements of a management object. It serves as a base class to more specific management object classes.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Management.ManagementBaseObject
System.Management.ManagementObject
System.MarshalByRefObject
System.ComponentModel.Component
System.Management.ManagementBaseObject
System.Management.ManagementObject
Namespace: System.Management
Assembly: System.Management (in System.Management.dll)
The ManagementBaseObject type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ManagementBaseObject | Initializes a new instance of the ManagementBaseObject class that is serializable. |
| Name | Description | |
|---|---|---|
![]() | CanRaiseEvents | Gets a value indicating whether the component can raise an event. (Inherited from Component.) |
![]() | ClassPath | Gets the path to the management object's class. |
![]() | Container | Gets the IContainer that contains the Component. (Inherited from Component.) |
![]() | DesignMode | Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.) |
![]() | Events | Gets the list of event handlers that are attached to this Component. (Inherited from Component.) |
![]() | Item | Gets access to property values through [] notation. This property is the indexer for the ManagementBaseObject class. You can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed property whose type is Object and whose index type is String. |
![]() | Properties | Gets a collection of PropertyData objects describing the properties of the management object. |
![]() | Qualifiers | Gets the collection of QualifierData objects defined on the management object. Each element in the collection holds information such as the qualifier name, value, and flavor. |
![]() | Site | Gets or sets the ISite of the Component. (Inherited from Component.) |
![]() | SystemProperties | Gets the collection of WMI system properties of the management object (for example, the class name, server, and namespace). WMI system property names begin with "__". |
| Name | Description | |
|---|---|---|
![]() | Clone | Returns a copy of the object. |
![]() | CompareTo | Compares this object to another, based on specified options. |
![]() | CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
![]() | Dispose() | |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the Component and optionally releases the managed resources. (Inherited from Component.) |
![]() | Equals | Compares two management objects. (Overrides Object.Equals(Object).) |
![]() | Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.) |
![]() | GetHashCode | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. (Overrides Object.GetHashCode().) |
![]() | GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() | GetObjectData | Populates a SerializationInfo with the data necessary to deserialize the field represented by this instance. |
![]() | GetPropertyQualifierValue | Returns the value of the specified property qualifier. |
![]() | GetPropertyValue | Gets an equivalent accessor to a property's value. |
![]() | GetQualifierValue | Gets the value of the specified qualifier. |
![]() | GetService | Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.) |
![]() | GetText | Returns a textual representation of the object in the specified format. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() | MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) |
![]() | SetPropertyQualifierValue | Sets the value of the specified property qualifier. |
![]() | SetPropertyValue | Sets the value of the named property. |
![]() | SetQualifierValue | Sets the value of the named qualifier. |
![]() | ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.) |
| Name | Description | |
|---|---|---|
![]() ![]() | Explicit(ManagementBaseObject to IntPtr) | Provides the internal WMI object represented by a ManagementObject. |
| Name | Description | |
|---|---|---|
![]() ![]() | ISerializable.GetObjectData | Implements the System.Runtime.Serialization.ISerializable interface and returns the data needed to serialize the ManagementBaseObject. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
