Редагувати

Поділитися через


BaseEvent Class

Definition

Represents classes derived from BaseEvent that are known to be management event classes. These derived classes inherit an implementation of IEvent that allows events to be fired through the Fire() method.

Note: the WMI .NET libraries are now considered in final state, and no further development, enhancements, or updates will be available for non-security related issues affecting these libraries. The MI APIs should be used for all new development.

public ref class BaseEvent abstract : System::Management::Instrumentation::IEvent
[System.Management.Instrumentation.InstrumentationClass(System.Management.Instrumentation.InstrumentationType.Event)]
public abstract class BaseEvent : System.Management.Instrumentation.IEvent
[<System.Management.Instrumentation.InstrumentationClass(System.Management.Instrumentation.InstrumentationType.Event)>]
type BaseEvent = class
    interface IEvent
Public MustInherit Class BaseEvent
Implements IEvent
Inheritance
BaseEvent
Attributes
Implements

Constructors

BaseEvent()

Initializes a new instance of the BaseEvent class.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Fire()

Raises a management event.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to