RolePlayerChangedEventArgs – konstruktor (IElementDirectory, DomainRoleInfo, Guid, Guid, Guid, ChangeSource, TransactionContext)
Obor názvů: Microsoft.VisualStudio.Modeling
Sestavení: Microsoft.VisualStudio.Modeling.Sdk.12.0 (v Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntaxe
'Deklarace
Public Sub New ( _
directory As IElementDirectory, _
domainRole As DomainRoleInfo, _
elementLinkId As Guid, _
oldRolePlayerId As Guid, _
newRolePlayerId As Guid, _
changeSource As ChangeSource, _
transactionContext As TransactionContext _
)
public RolePlayerChangedEventArgs(
IElementDirectory directory,
DomainRoleInfo domainRole,
Guid elementLinkId,
Guid oldRolePlayerId,
Guid newRolePlayerId,
ChangeSource changeSource,
TransactionContext transactionContext
)
Parametry
- directory
Typ: Microsoft.VisualStudio.Modeling.IElementDirectory
Adresář prvek slouží k vyhledání prvků a ModelElement odkazy.
- domainRole
Typ: Microsoft.VisualStudio.Modeling.DomainRoleInfo
Jehož role-player změnit roli domény
- elementLinkId
Typ: System.Guid
ElementLink, jejichž role-player změnit Id
- oldRolePlayerId
Typ: System.Guid
Id ModelElement, která byla role před změnou přehrávání
- newRolePlayerId
Typ: System.Guid
Id ModelElement, který hraje roli po změně
- changeSource
Typ: Microsoft.VisualStudio.Modeling.ChangeSource
Tato změna zdroje
- transactionContext
Typ: Microsoft.VisualStudio.Modeling.TransactionContext
Došlo k změně kontextu transakce.
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.
Viz také
Referenční dokumentace
RolePlayerChangedEventArgs Třída