OrderToken Constructor
Initializes a new instance of the OrderToken class based on the specified referenced OrderToken, precedence, and conflict resolution semantics.
Namespace: Microsoft.Windows.Design
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Protected Sub New ( _
precedence As OrderTokenPrecedence, _
reference As OrderToken, _
conflictResolution As OrderTokenConflictResolution _
)
protected OrderToken(
OrderTokenPrecedence precedence,
OrderToken reference,
OrderTokenConflictResolution conflictResolution
)
protected:
OrderToken(
OrderTokenPrecedence precedence,
OrderToken^ reference,
OrderTokenConflictResolution conflictResolution
)
new :
precedence:OrderTokenPrecedence *
reference:OrderToken *
conflictResolution:OrderTokenConflictResolution -> OrderToken
protected function OrderToken(
precedence : OrderTokenPrecedence,
reference : OrderToken,
conflictResolution : OrderTokenConflictResolution
)
Parameters
- precedence
Type: Microsoft.Windows.Design.OrderTokenPrecedence
Precedence of this token based on the referenced token.
- reference
Type: Microsoft.Windows.Design.OrderToken
Referenced token. May be nulla null reference (Nothing in Visual Basic) for the root token case. A root token is a token that is not dependent on any token.
- conflictResolution
Type: Microsoft.Windows.Design.OrderTokenConflictResolution
Conflict resolution semantics.
Remarks
A winning OrderTokenConflictResolution semantic should be used only on predefined, default OrderToken instances to make sure their placement is correct in more a complex chain of order dependencies.
.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.
See Also
Reference
Microsoft.Windows.Design Namespace