GlobalEventManager Class

When overridden in a derived class, enables observers to register for and be notified of changes within a store.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.GlobalEventManager
    Microsoft.VisualStudio.Modeling.ElementEventManager
    Microsoft.VisualStudio.Modeling.ElementEventsBegunEventManager
    Microsoft.VisualStudio.Modeling.ElementEventsEndedEventManager
    Microsoft.VisualStudio.Modeling.TransactionEventManager

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

声明
Public MustInherit Class GlobalEventManager
public abstract class GlobalEventManager
public ref class GlobalEventManager abstract
[<AbstractClass>]
type GlobalEventManager =  class end
public abstract class GlobalEventManager

The GlobalEventManager type exposes the following members.

Constructors

  Name Description
Protected method GlobalEventManager Initializes a new instance of the GlobalEventManager class.

Top

Methods

  Name Description
Public method Add Adds an event handler delegate for global event notifications.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove Removes an event handler delegate from global event notifications.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

This class is the base class for all transaction and element event managers.

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.Modeling Namespace