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
声明
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 | |
|---|---|---|
| .gif) | EventManagerDirectory | Initializes a new instance of the EventManagerDirectory class. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | ElementAdded | Gets the event manager directory and enables you to add or remove custom code to run when elements are added. | 
| .gif) | ElementDeleted | Gets the event manager directory and enables you to add or remove custom code to run when elements are deleted. | 
| .gif) | ElementEventsBegun | Gets the event manager directory and enables you to add or remove custom code to run before events for elements are raised. | 
| .gif) | ElementEventsEnded | Gets the event manager directory and enables you to add or remove custom code to run after elements for events that are raised. | 
| .gif) | ElementMoved | Gets the event manager directory and enables you to add or remove custom code to run when elements are moved. | 
| .gif) | 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. | 
| .gif) | 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. | 
| .gif) | 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. | 
| .gif) | TransactionBeginning | Gets the event manager directory and enables you to add or remove custom code to run when a transaction is starting. | 
| .gif) | TransactionCommitted | Gets the event manager directory and enables you to add or remove custom code to run when a transaction is committed. | 
| .gif) | 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 | |
|---|---|---|
| .gif) | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
Top
Events
| Name | Description | |
|---|---|---|
| .gif) | DeserializationBeginning | Gets the event manager directory and enables you to add or remove custom code to run when deserializing a model starts. | 
| .gif) | 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.