Share via


RolePlayerOrderChangedEventArgs Constructor

Note: This API is now obsolete.

Constructor

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
<ObsoleteAttribute("This class is not intended for  public instantiation")> _
Public Sub New ( _
    directory As IElementDirectory, _
    sourceElementId As Guid, _
    sourceDomainRole As DomainRoleInfo, _
    counterpartId As Guid, _
    counterpartRole As DomainRoleInfo, _
    oldOrdinal As Integer, _
    newOrdinal As Integer, _
    changeSource As ChangeSource, _
    transactionContext As TransactionContext _
)
[ObsoleteAttribute("This class is not intended for  public instantiation")]
public RolePlayerOrderChangedEventArgs(
    IElementDirectory directory,
    Guid sourceElementId,
    DomainRoleInfo sourceDomainRole,
    Guid counterpartId,
    DomainRoleInfo counterpartRole,
    int oldOrdinal,
    int newOrdinal,
    ChangeSource changeSource,
    TransactionContext transactionContext
)
[ObsoleteAttribute(L"This class is not intended for  public instantiation")]
public:
RolePlayerOrderChangedEventArgs(
    IElementDirectory^ directory, 
    Guid sourceElementId, 
    DomainRoleInfo^ sourceDomainRole, 
    Guid counterpartId, 
    DomainRoleInfo^ counterpartRole, 
    int oldOrdinal, 
    int newOrdinal, 
    ChangeSource changeSource, 
    TransactionContext^ transactionContext
)
[<ObsoleteAttribute("This class is not intended for  public instantiation")>]
new : 
        directory:IElementDirectory * 
        sourceElementId:Guid * 
        sourceDomainRole:DomainRoleInfo * 
        counterpartId:Guid * 
        counterpartRole:DomainRoleInfo * 
        oldOrdinal:int * 
        newOrdinal:int * 
        changeSource:ChangeSource * 
        transactionContext:TransactionContext -> RolePlayerOrderChangedEventArgs
public function RolePlayerOrderChangedEventArgs(
    directory : IElementDirectory, 
    sourceElementId : Guid, 
    sourceDomainRole : DomainRoleInfo, 
    counterpartId : Guid, 
    counterpartRole : DomainRoleInfo, 
    oldOrdinal : int, 
    newOrdinal : int, 
    changeSource : ChangeSource, 
    transactionContext : TransactionContext
)

Parameters

  • sourceElementId
    Type: System.Guid

    The Id of the source ModelElement

  • counterpartId
    Type: System.Guid

    The Id of the ModelElement whose order has changed

  • oldOrdinal
    Type: System.Int32

    The ModelElement ordinal before the change

  • newOrdinal
    Type: System.Int32

    The ModelElement ordinal after the change

.NET Framework Security

See Also

Reference

RolePlayerOrderChangedEventArgs Class

Microsoft.VisualStudio.Modeling Namespace