Compartilhar via


GenericEventArgs Class

Definition

Abstract base class for all event arguments for element events

public ref class GenericEventArgs abstract : Microsoft::VisualStudio::Modeling::ModelingEventArgs
public abstract class GenericEventArgs : Microsoft.VisualStudio.Modeling.ModelingEventArgs
type GenericEventArgs = class
    inherit ModelingEventArgs
Public MustInherit Class GenericEventArgs
Inherits ModelingEventArgs
Inheritance
GenericEventArgs
Derived

Constructors

GenericEventArgs(ChangeSource, TransactionContext)

Construct a GenericEventArgs with the specified change origin and transaction context

GenericEventArgs(ChangeSource)
Obsolete.

Constructor

Properties

ChangeSource

Get or Set the source of this change

DomainClass

Get the domain class to which this notification pertains

DomainModel

Get the domain model to which this notification pertains

ElementId

Get the Id of the element to which this notification pertains

TransactionContext

Gets the TransactionContext associated with the event. May be null if no transaction context is available for the event.

(Inherited from ModelingEventArgs)

Applies to