RolePlayerChangedEventArgs Oluşturucular

Tanım

Aşırı Yüklemeler

RolePlayerChangedEventArgs(IElementDirectory, DomainRoleInfo, Guid, Guid, Guid, ChangeSource)
Kullanımdan kalktı.

Oluşturucu

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

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

Dikkat

Use constructor with TransactionContext parameter

Oluşturucu

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)

Parametreler

directory
IElementDirectory

Öğeleri aramak için kullanılan öğe dizini ve ilişkili olan ModelElement bağlantıları

domainRole
DomainRoleInfo

Rol oyuncusu değişmiş olan etki alanı rolü

elementLinkId
Guid

Rol oyuncusu değişmiş olan ElementLink kimliği

oldRolePlayerId
Guid

Değişiklikten önce rolü oynatan bir ModelElement kimliği

newRolePlayerId
Guid

Değişiklikten sonra rolü çalan ModelElement 'in kimliği

changeSource
ChangeSource

Bu değişikliğin kaynağı

Öznitelikler

Şunlara uygulanır

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)

Parametreler

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

Şunlara uygulanır