ElementDeletingEventArgs 构造函数

定义

重载

ElementDeletingEventArgs(IElementDirectory, DomainClassInfo, Guid, ChangeSource)
已过时。

构造函数

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

构造函数

ElementDeletingEventArgs(IElementDirectory, DomainClassInfo, Guid, ChangeSource)

注意

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")]
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)

参数

directory
IElementDirectory

可在其中找到已删除的 ModelElement 的目录

domainClass
DomainClassInfo

已删除的 ModelElement 的域类

elementId
Guid

已删除的 ModelElement 的 Id

changeSource
ChangeSource

此更改的源

属性

适用于

ElementDeletingEventArgs(IElementDirectory, DomainClassInfo, Guid, ChangeSource, 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);
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)

参数

directory
IElementDirectory

可在其中找到已删除的 ModelElement 的目录

domainClass
DomainClassInfo

已删除的 ModelElement 的域类

elementId
Guid

已删除的 ModelElement 的 Id

changeSource
ChangeSource

此更改的源

transactionContext
TransactionContext

触发事件时活动的事务上下文

适用于