다음을 통해 공유


RolePlayerChangedEventArgs 생성자 (IElementDirectory, DomainRoleInfo, Guid, Guid, Guid, ChangeSource)

참고: 이 API는 이제 사용되지 않습니다.

생성자

네임스페이스:  Microsoft.VisualStudio.Modeling
어셈블리:  Microsoft.VisualStudio.Modeling.Sdk.12.0(Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

구문

‘선언
<ObsoleteAttribute("Use constructor with TransactionContext parameter")> _
Public Sub New ( _
    directory As IElementDirectory, _
    domainRole As DomainRoleInfo, _
    elementLinkId As Guid, _
    oldRolePlayerId As Guid, _
    newRolePlayerId As Guid, _
    changeSource As ChangeSource _
)
[ObsoleteAttribute("Use constructor with TransactionContext parameter")]
public RolePlayerChangedEventArgs(
    IElementDirectory directory,
    DomainRoleInfo domainRole,
    Guid elementLinkId,
    Guid oldRolePlayerId,
    Guid newRolePlayerId,
    ChangeSource changeSource
)

매개 변수

  • elementLinkId
    형식: System.Guid
    역할 수행자가 변경된 ElementLink의 Id
  • oldRolePlayerId
    형식: System.Guid
    변경 전에 역할을 수행한 ModelElement의 Id
  • newRolePlayerId
    형식: System.Guid
    변경 후에 역할을 수행할 ModelElement의 Id

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

RolePlayerChangedEventArgs 클래스

RolePlayerChangedEventArgs 오버로드

Microsoft.VisualStudio.Modeling 네임스페이스