Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Transition Class
Collapse the table of content
Expand the table of content

Transition Class

.NET Framework 4.6 and 4.5

Models the list of possible state changes.


Namespace:  System.Activities.Statements
Assembly:  System.Activities (in System.Activities.dll)

public ref class Transition sealed

The Transition type exposes the following members.

Public methodTransitionInitializes a new instance of the Transition class.

Public propertyActionGets or sets the activity performed during a transition.
Public propertyConditionSpecifies the condition the transition is testing when the trigger activity is activated.
Public propertyDisplayNameGets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking.
Public propertyToGets or sets the next state in the state machine to execute after the transition is completed.
Public propertyTriggerGets or sets the activity whose completion activates this transition.

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

.NET Framework

Supported in: 4.6, 4.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft