ElementEventArgs Constructor (IElementDirectory, DomainClassInfo, Guid, ChangeSource, TransactionContext)
Constructor
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣言
Public Sub New ( _
directory As IElementDirectory, _
domainClass As DomainClassInfo, _
elementId As Guid, _
changeSource As ChangeSource, _
transactionContext As TransactionContext _
)
public ElementEventArgs(
IElementDirectory directory,
DomainClassInfo domainClass,
Guid elementId,
ChangeSource changeSource,
TransactionContext transactionContext
)
public:
ElementEventArgs(
IElementDirectory^ directory,
DomainClassInfo^ domainClass,
Guid elementId,
ChangeSource changeSource,
TransactionContext^ transactionContext
)
new :
directory:IElementDirectory *
domainClass:DomainClassInfo *
elementId:Guid *
changeSource:ChangeSource *
transactionContext:TransactionContext -> ElementEventArgs
public function ElementEventArgs(
directory : IElementDirectory,
domainClass : DomainClassInfo,
elementId : Guid,
changeSource : ChangeSource,
transactionContext : TransactionContext
)
Parameters
- directory
Type: Microsoft.VisualStudio.Modeling.IElementDirectory
The element directory used to look up the subject ModelElement
- domainClass
Type: Microsoft.VisualStudio.Modeling.DomainClassInfo
The domain class of the subject ModelElement
- elementId
Type: System.Guid
The Id of the subject ModelElement
- changeSource
Type: Microsoft.VisualStudio.Modeling.ChangeSource
The source of the change that triggered firing this notification
- transactionContext
Type: Microsoft.VisualStudio.Modeling.TransactionContext
Context of transaction active when event fired
.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.