共用方式為


TransactionEventManager Class

Represents the base class for managing notifications of transaction events.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.GlobalEventManager
    Microsoft.VisualStudio.Modeling.TransactionEventManager
      Microsoft.VisualStudio.Modeling.TransactionBeginningEventManager
      Microsoft.VisualStudio.Modeling.TransactionCommittedEventManager
      Microsoft.VisualStudio.Modeling.TransactionRolledBackEventManager

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

Syntax

'宣告
Public MustInherit Class TransactionEventManager _
    Inherits GlobalEventManager
public abstract class TransactionEventManager : GlobalEventManager
public ref class TransactionEventManager abstract : public GlobalEventManager
[<AbstractClass>]
type TransactionEventManager =  
    class
        inherit GlobalEventManager
    end
public abstract class TransactionEventManager extends GlobalEventManager

The TransactionEventManager type exposes the following members.

Constructors

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

Top

Methods

  Name Description
Public method Add(Delegate) Adds an event handler delegate for global event notifications. (Inherited from GlobalEventManager.)
Public method Add(Guid, Delegate) 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(Delegate) Removes an event handler delegate from global event notifications. (Inherited from GlobalEventManager.)
Public method Remove(Guid, Delegate) Removes an event handler delegate from global event notifications.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

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