ElementDeletingEventArgs Constructor (IElementDirectory, DomainClassInfo, Guid, ChangeSource)
Note: This API is now obsolete.
Constructor
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use constructor with TransactionContext parameter")> _
Public Sub New ( _
directory As IElementDirectory, _
domainClass As DomainClassInfo, _
elementId As Guid, _
changeSource As ChangeSource _
)
[ObsoleteAttribute("Use constructor with TransactionContext parameter")]
public ElementDeletingEventArgs(
IElementDirectory directory,
DomainClassInfo domainClass,
Guid elementId,
ChangeSource changeSource
)
[ObsoleteAttribute(L"Use constructor with TransactionContext parameter")]
public:
ElementDeletingEventArgs(
IElementDirectory^ directory,
DomainClassInfo^ domainClass,
Guid elementId,
ChangeSource changeSource
)
[<ObsoleteAttribute("Use constructor with TransactionContext parameter")>]
new :
directory:IElementDirectory *
domainClass:DomainClassInfo *
elementId:Guid *
changeSource:ChangeSource -> ElementDeletingEventArgs
public function ElementDeletingEventArgs(
directory : IElementDirectory,
domainClass : DomainClassInfo,
elementId : Guid,
changeSource : ChangeSource
)
Parameters
directory
Type: Microsoft.VisualStudio.Modeling.IElementDirectoryThe directory in which the deleted ModelElement may be found
domainClass
Type: Microsoft.VisualStudio.Modeling.DomainClassInfoThe domain class of the deleted ModelElement
elementId
Type: System.GuidThe Id of the deleted ModelElement
changeSource
Type: Microsoft.VisualStudio.Modeling.ChangeSourceThe source of this change
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ElementDeletingEventArgs Class