EventManagerDirectory Class

Enables you to add or remove custom code to run when an event is raised.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.EventManagerDirectory

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

Syntax

'Declaração
Public Class EventManagerDirectory
public class EventManagerDirectory
public ref class EventManagerDirectory
type EventManagerDirectory =  class end
public class EventManagerDirectory

The EventManagerDirectory type exposes the following members.

Constructors

  Name Description
Public method EventManagerDirectory Initializes a new instance of the EventManagerDirectory class.

Top

Properties

  Name Description
Public property ElementAdded Gets the event manager directory and enables you to add or remove custom code to run when elements are added.
Public property ElementDeleted Gets the event manager directory and enables you to add or remove custom code to run when elements are deleted.
Public property ElementEventsBegun Gets the event manager directory and enables you to add or remove custom code to run before events for elements are raised.
Public property ElementEventsEnded Gets the event manager directory and enables you to add or remove custom code to run after elements for events that are raised.
Public property ElementMoved Gets the event manager directory and enables you to add or remove custom code to run when elements are moved.
Public property ElementPropertyChanged Gets the event manager directory and enables you to add or remove custom code to run when the value of a property on an element changes.
Public property RolePlayerChanged Gets the event manager directory and enables you to add or remove custom code to run when elements that are role players are changed.
Public property RolePlayerOrderChanged Gets the event manager directory and enables you to add or remove custom code to run when elements that are role players are in a different order.
Public property TransactionBeginning Gets the event manager directory and enables you to add or remove custom code to run when a transaction is starting.
Public property TransactionCommitted Gets the event manager directory and enables you to add or remove custom code to run when a transaction is committed.
Public property TransactionRolledBack Gets the event manager directory and enables you to add or remove custom code to run when a transaction is rolled back.

Top

Methods

  Name Description
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 ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event DeserializationBeginning Gets the event manager directory and enables you to add or remove custom code to run when deserializing a model starts.
Public event DeserializationEnding Gets the event manager directory and enables you to add or remove custom code to run when deserializing a model is ending.

Top

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