Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- directory 
 Type: Microsoft.VisualStudio.Modeling.IElementDirectory- The element directory in which to look up the relevent Elements and ElementLinks 
- sourceElementId 
 Type: System.Guid- The Id of the source ModelElement 
- sourceDomainRole 
 Type: Microsoft.VisualStudio.Modeling.DomainRoleInfo- The domain role played by the source ModelElement 
- counterpartId 
 Type: System.Guid- The Id of the ModelElement whose order has changed 
- counterpartRole 
 Type: Microsoft.VisualStudio.Modeling.DomainRoleInfo- The domain role played by 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 
- changeSource 
 Type: Microsoft.VisualStudio.Modeling.ChangeSource- The source for this change 
- transactionContext 
 Type: Microsoft.VisualStudio.Modeling.TransactionContext- Context of transaction active when event fired 
.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.