次の方法で共有


ElementDeletingEventArgs Constructors

Definition

Overloads

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

Constructor

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

Constructor

ElementDeletingEventArgs(IElementDirectory, DomainClassInfo, Guid, ChangeSource)

Caution

Use constructor with TransactionContext parameter

Constructor

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

Parameters

directory
IElementDirectory

The directory in which the deleted ModelElement may be found

domainClass
DomainClassInfo

The domain class of the deleted ModelElement

elementId
Guid

The Id of the deleted ModelElement

changeSource
ChangeSource

The source of this change

Attributes

Applies to

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

Constructor

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

Parameters

directory
IElementDirectory

The directory in which the deleted ModelElement may be found

domainClass
DomainClassInfo

The domain class of the deleted ModelElement

elementId
Guid

The Id of the deleted ModelElement

changeSource
ChangeSource

The source of this change

transactionContext
TransactionContext

Context of transaction active when event fired

Applies to