Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
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
)
public:
RolePlayerChangedEventArgs(
    IElementDirectory^ directory, 
    DomainRoleInfo^ domainRole, 
    Guid elementLinkId, 
    Guid oldRolePlayerId, 
    Guid newRolePlayerId, 
    ChangeSource changeSource, 
    TransactionContext^ transactionContext
)
new : 
        directory:IElementDirectory * 
        domainRole:DomainRoleInfo * 
        elementLinkId:Guid * 
        oldRolePlayerId:Guid * 
        newRolePlayerId:Guid * 
        changeSource:ChangeSource * 
        transactionContext:TransactionContext -> RolePlayerChangedEventArgs
public function RolePlayerChangedEventArgs(
    directory : IElementDirectory, 
    domainRole : DomainRoleInfo, 
    elementLinkId : Guid, 
    oldRolePlayerId : Guid, 
    newRolePlayerId : Guid, 
    changeSource : ChangeSource, 
    transactionContext : TransactionContext
)
Parameters
directory
Type: Microsoft.VisualStudio.Modeling.IElementDirectoryThe element directory used to look up the Elements and ModelElement links.
domainRole
Type: Microsoft.VisualStudio.Modeling.DomainRoleInfoThe domain role whose role-player changed
elementLinkId
Type: System.GuidThe Id of the ElementLink whose role-player changed
oldRolePlayerId
Type: System.GuidThe Id of the ModelElement that was playing the role before the change
newRolePlayerId
Type: System.GuidThe Id of the ModelElement that is playing the role after the change
changeSource
Type: Microsoft.VisualStudio.Modeling.ChangeSourceThe source of this change
transactionContext
Type: Microsoft.VisualStudio.Modeling.TransactionContextThe transaction context in which the change occurred.
.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
RolePlayerChangedEventArgs Class