次の方法で共有


RolePlayerChangedEventArgs Constructors

Definition

Overloads

RolePlayerChangedEventArgs(IElementDirectory, DomainRoleInfo, Guid, Guid, Guid, ChangeSource)
Obsolete.

Constructor

RolePlayerChangedEventArgs(IElementDirectory, DomainRoleInfo, Guid, Guid, Guid, ChangeSource, TransactionContext)

RolePlayerChangedEventArgs(IElementDirectory, DomainRoleInfo, Guid, Guid, Guid, ChangeSource)

Caution

Use constructor with TransactionContext parameter

Constructor

public:
 RolePlayerChangedEventArgs(Microsoft::VisualStudio::Modeling::IElementDirectory ^ directory, Microsoft::VisualStudio::Modeling::DomainRoleInfo ^ domainRole, Guid elementLinkId, Guid oldRolePlayerId, Guid newRolePlayerId, Microsoft::VisualStudio::Modeling::ChangeSource changeSource);
[System.Obsolete("Use constructor with TransactionContext parameter")]
public RolePlayerChangedEventArgs (Microsoft.VisualStudio.Modeling.IElementDirectory directory, Microsoft.VisualStudio.Modeling.DomainRoleInfo domainRole, Guid elementLinkId, Guid oldRolePlayerId, Guid newRolePlayerId, Microsoft.VisualStudio.Modeling.ChangeSource changeSource);
[<System.Obsolete("Use constructor with TransactionContext parameter")>]
new Microsoft.VisualStudio.Modeling.RolePlayerChangedEventArgs : Microsoft.VisualStudio.Modeling.IElementDirectory * Microsoft.VisualStudio.Modeling.DomainRoleInfo * Guid * Guid * Guid * Microsoft.VisualStudio.Modeling.ChangeSource -> Microsoft.VisualStudio.Modeling.RolePlayerChangedEventArgs
Public Sub New (directory As IElementDirectory, domainRole As DomainRoleInfo, elementLinkId As Guid, oldRolePlayerId As Guid, newRolePlayerId As Guid, changeSource As ChangeSource)

Parameters

directory
IElementDirectory

The element directory used to look up the Elements and ModelElement links involved

domainRole
DomainRoleInfo

The domain role whose role-player changed

elementLinkId
Guid

The Id of the ElementLink whose role-player changed

oldRolePlayerId
Guid

The Id of the ModelElement that was playing the role before the change

newRolePlayerId
Guid

The Id of the ModelElement that is playing the role after the change

changeSource
ChangeSource

The source of this change

Attributes

Applies to

RolePlayerChangedEventArgs(IElementDirectory, DomainRoleInfo, Guid, Guid, Guid, ChangeSource, TransactionContext)

public:
 RolePlayerChangedEventArgs(Microsoft::VisualStudio::Modeling::IElementDirectory ^ directory, Microsoft::VisualStudio::Modeling::DomainRoleInfo ^ domainRole, Guid elementLinkId, Guid oldRolePlayerId, Guid newRolePlayerId, Microsoft::VisualStudio::Modeling::ChangeSource changeSource, Microsoft::VisualStudio::Modeling::TransactionContext ^ transactionContext);
public RolePlayerChangedEventArgs (Microsoft.VisualStudio.Modeling.IElementDirectory directory, Microsoft.VisualStudio.Modeling.DomainRoleInfo domainRole, Guid elementLinkId, Guid oldRolePlayerId, Guid newRolePlayerId, Microsoft.VisualStudio.Modeling.ChangeSource changeSource, Microsoft.VisualStudio.Modeling.TransactionContext transactionContext);
new Microsoft.VisualStudio.Modeling.RolePlayerChangedEventArgs : Microsoft.VisualStudio.Modeling.IElementDirectory * Microsoft.VisualStudio.Modeling.DomainRoleInfo * Guid * Guid * Guid * Microsoft.VisualStudio.Modeling.ChangeSource * Microsoft.VisualStudio.Modeling.TransactionContext -> Microsoft.VisualStudio.Modeling.RolePlayerChangedEventArgs
Public Sub New (directory As IElementDirectory, domainRole As DomainRoleInfo, elementLinkId As Guid, oldRolePlayerId As Guid, newRolePlayerId As Guid, changeSource As ChangeSource, transactionContext As TransactionContext)

Parameters

directory
IElementDirectory
domainRole
DomainRoleInfo
elementLinkId
Guid
oldRolePlayerId
Guid
newRolePlayerId
Guid
changeSource
ChangeSource
transactionContext
TransactionContext

Applies to