SwitchActivity Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This activity evaluates an expression and executes activities under the cases property that correspond to the expression evaluation expected in the equals property.
[Microsoft.Rest.Serialization.JsonTransformation]
[Newtonsoft.Json.JsonObject("Switch")]
public class SwitchActivity : Microsoft.Azure.Management.DataFactory.Models.ControlActivity
[<Microsoft.Rest.Serialization.JsonTransformation>]
[<Newtonsoft.Json.JsonObject("Switch")>]
type SwitchActivity = class
inherit ControlActivity
Public Class SwitchActivity
Inherits ControlActivity
- Inheritance
- Attributes
-
JsonTransformationAttribute Newtonsoft.Json.JsonObjectAttribute
Constructors
SwitchActivity() |
Initializes a new instance of the SwitchActivity class. |
SwitchActivity(String, Expression, IDictionary<String,Object>, String, IList<ActivityDependency>, IList<UserProperty>, IList<SwitchCase>, IList<Activity>) |
Initializes a new instance of the SwitchActivity class. |
Properties
AdditionalProperties |
Gets or sets unmatched properties from the message are deserialized this collection (Inherited from Activity) |
Cases |
Gets or sets list of cases that correspond to expected values of the 'on' property. This is an optional property and if not provided, the activity will execute activities provided in defaultActivities. |
DefaultActivities |
Gets or sets list of activities to execute if no case condition is satisfied. This is an optional property and if not provided, the activity will exit without any action. |
DependsOn |
Gets or sets activity depends on condition. (Inherited from Activity) |
Description |
Gets or sets activity description. (Inherited from Activity) |
Name |
Gets or sets activity name. (Inherited from Activity) |
On |
Gets or sets an expression that would evaluate to a string or integer. This is used to determine the block of activities in cases that will be executed. |
UserProperties |
Gets or sets activity user properties. (Inherited from Activity) |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET