TechNet
Export (0) Print
Expand All

ManagementBaseObject Class

 

Contains the basic elements of a management object. It serves as a base class to more specific management object classes.

Namespace:   System.Management
Assembly:  System.Management (in System.Management.dll)

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Management.ManagementBaseObject
        System.Management.ManagementObject

<SerializableAttribute>
Public Class ManagementBaseObject
	Inherits Component
	Implements ICloneable, ISerializable

NameDescription
System_CAPS_protmethodManagementBaseObject(SerializationInfo, StreamingContext)

Initializes a new instance of the ManagementBaseObject class that is serializable.

NameDescription
System_CAPS_protpropertyCanRaiseEvents

Gets a value indicating whether the component can raise an event.(Inherited from Component.)

System_CAPS_pubpropertyClassPath

Gets the path to the management object's class.

System_CAPS_pubpropertyContainer

Gets the IContainer that contains the Component.(Inherited from Component.)

System_CAPS_protpropertyDesignMode

Gets a value that indicates whether the Component is currently in design mode.(Inherited from Component.)

System_CAPS_protpropertyEvents

Gets the list of event handlers that are attached to this Component.(Inherited from Component.)

System_CAPS_pubpropertyItem(String)

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.

System_CAPS_pubpropertyProperties

Gets a collection of PropertyData objects describing the properties of the management object.

System_CAPS_pubpropertyQualifiers

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.

System_CAPS_pubpropertySite

Gets or sets the ISite of the Component.(Inherited from Component.)

System_CAPS_pubpropertySystemProperties

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 "__".

NameDescription
System_CAPS_pubmethodClone()

Returns a copy of the object.

System_CAPS_pubmethodCompareTo(ManagementBaseObject, ComparisonSettings)

Compares this object to another, based on specified options.

System_CAPS_pubmethodCreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDispose()

Releases the unmanaged resources used by the ManagementBaseObject.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the Component and optionally releases the managed resources.(Inherited from Component.)

System_CAPS_pubmethodEquals(Object)

Compares two management objects.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.(Inherited from Component.)

System_CAPS_pubmethodGetHashCode()

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().)

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodGetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data necessary to deserialize the field represented by this instance.

System_CAPS_pubmethodGetPropertyQualifierValue(String, String)

Returns the value of the specified property qualifier.

System_CAPS_pubmethodGetPropertyValue(String)

Gets an equivalent accessor to a property's value.

System_CAPS_pubmethodGetQualifierValue(String)

Gets the value of the specified qualifier.

System_CAPS_protmethodGetService(Type)

Returns an object that represents a service provided by the Component or by its Container.(Inherited from Component.)

System_CAPS_pubmethodGetText(TextFormat)

Returns a textual representation of the object in the specified format.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodSetPropertyQualifierValue(String, String, Object)

Sets the value of the specified property qualifier.

System_CAPS_pubmethodSetPropertyValue(String, Object)

Sets the value of the named property.

System_CAPS_pubmethodSetQualifierValue(String, Object)

Sets the value of the named qualifier.

System_CAPS_pubmethodToString()

Returns a String containing the name of the Component, if any. This method should not be overridden.(Inherited from Component.)

NameDescription
System_CAPS_pubeventDisposed

Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticNarrowing(ManagementBaseObject to IntPtr)

Provides the internal WMI object represented by a ManagementObject.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodISerializable.GetObjectData(SerializationInfo, StreamingContext)

Implements the System.Runtime.Serialization.ISerializable interface and returns the data needed to serialize the ManagementBaseObject.

.NET Framework
Available since 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft