Export (0) Print
Expand All

Switch<T> Properties

The Switch<T> type exposes the following members.

  Name Description
Protected property CacheId Gets the identifier of the cache that is unique within the scope of the workflow definition. (Inherited from Activity.)
Public property Cases Represents the dictionary of potential execution paths. Each entry contains a key and an activity that is executed when the result of the expression matches the key.
Public property Default Represents the activity that is executed if no keys of entries in the Cases collection match the Expression property.
Public property DisplayName Gets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking. (Inherited from Activity.)
Public property Expression Gets the object to compare to the keys in the Cases collection.
Public property Id Gets an identifier that is unique in the scope of the workflow definition. (Inherited from Activity.)
Protected property ImplementationVersion Gets or sets the implementation version of the activity. (Inherited from NativeActivity.)
© 2014 Microsoft