Freigeben über


ElementMovedEventArgs Constructors

Definition

Overloads

ElementMovedEventArgs(IElementDirectory, DomainClassInfo, Guid, Guid, Guid, ChangeSource)
Obsolete.

Obsolete constructor

ElementMovedEventArgs(IElementDirectory, DomainClassInfo, Guid, Guid, Guid, ChangeSource, TransactionContext)

Constructor

ElementMovedEventArgs(IElementDirectory, DomainClassInfo, Guid, Guid, Guid, ChangeSource)

Caution

Use constructor with TransactionContext parameter

Obsolete constructor

public:
 ElementMovedEventArgs(Microsoft::VisualStudio::Modeling::IElementDirectory ^ directory, Microsoft::VisualStudio::Modeling::DomainClassInfo ^ domainClass, Guid elementId, Guid sourcePartitionId, Guid destinationPartitionId, Microsoft::VisualStudio::Modeling::ChangeSource changeSource);
[System.Obsolete("Use constructor with TransactionContext parameter")]
public ElementMovedEventArgs (Microsoft.VisualStudio.Modeling.IElementDirectory directory, Microsoft.VisualStudio.Modeling.DomainClassInfo domainClass, Guid elementId, Guid sourcePartitionId, Guid destinationPartitionId, Microsoft.VisualStudio.Modeling.ChangeSource changeSource);
[<System.Obsolete("Use constructor with TransactionContext parameter")>]
new Microsoft.VisualStudio.Modeling.ElementMovedEventArgs : Microsoft.VisualStudio.Modeling.IElementDirectory * Microsoft.VisualStudio.Modeling.DomainClassInfo * Guid * Guid * Guid * Microsoft.VisualStudio.Modeling.ChangeSource -> Microsoft.VisualStudio.Modeling.ElementMovedEventArgs
Public Sub New (directory As IElementDirectory, domainClass As DomainClassInfo, elementId As Guid, sourcePartitionId As Guid, destinationPartitionId As Guid, changeSource As ChangeSource)

Parameters

directory
IElementDirectory

The directory in which the new ModelElement may be found

domainClass
DomainClassInfo

The domain class of the new ModelElement

elementId
Guid

The Id of the new ModelElement

sourcePartitionId
Guid

source partition Id

destinationPartitionId
Guid

destination partition Id

changeSource
ChangeSource

Source of the change

Attributes

Applies to

ElementMovedEventArgs(IElementDirectory, DomainClassInfo, Guid, Guid, Guid, ChangeSource, TransactionContext)

Constructor

public:
 ElementMovedEventArgs(Microsoft::VisualStudio::Modeling::IElementDirectory ^ directory, Microsoft::VisualStudio::Modeling::DomainClassInfo ^ domainClass, Guid elementId, Guid sourcePartitionId, Guid destinationPartitionId, Microsoft::VisualStudio::Modeling::ChangeSource changeSource, Microsoft::VisualStudio::Modeling::TransactionContext ^ transactionContext);
public ElementMovedEventArgs (Microsoft.VisualStudio.Modeling.IElementDirectory directory, Microsoft.VisualStudio.Modeling.DomainClassInfo domainClass, Guid elementId, Guid sourcePartitionId, Guid destinationPartitionId, Microsoft.VisualStudio.Modeling.ChangeSource changeSource, Microsoft.VisualStudio.Modeling.TransactionContext transactionContext);
new Microsoft.VisualStudio.Modeling.ElementMovedEventArgs : Microsoft.VisualStudio.Modeling.IElementDirectory * Microsoft.VisualStudio.Modeling.DomainClassInfo * Guid * Guid * Guid * Microsoft.VisualStudio.Modeling.ChangeSource * Microsoft.VisualStudio.Modeling.TransactionContext -> Microsoft.VisualStudio.Modeling.ElementMovedEventArgs
Public Sub New (directory As IElementDirectory, domainClass As DomainClassInfo, elementId As Guid, sourcePartitionId As Guid, destinationPartitionId As Guid, changeSource As ChangeSource, transactionContext As TransactionContext)

Parameters

directory
IElementDirectory

The directory in which the new ModelElement may be found

domainClass
DomainClassInfo

The domain class of the new ModelElement

elementId
Guid

The Id of the new ModelElement

sourcePartitionId
Guid

source partition Id

destinationPartitionId
Guid

destination partition Id

changeSource
ChangeSource

Source of the change

transactionContext
TransactionContext

Context of transaction active when event fired

Applies to