IfConditionActivity 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 a boolean expression and executes either the activities under the ifTrueActivities property or the ifFalseActivities property depending on the result of the expression.
[Microsoft.Rest.Serialization.JsonTransformation]
[Newtonsoft.Json.JsonObject("IfCondition")]
public class IfConditionActivity : Microsoft.Azure.Management.DataFactory.Models.ControlActivity
[<Microsoft.Rest.Serialization.JsonTransformation>]
[<Newtonsoft.Json.JsonObject("IfCondition")>]
type IfConditionActivity = class
inherit ControlActivity
Public Class IfConditionActivity
Inherits ControlActivity
- Inheritance
- Attributes
-
JsonTransformationAttribute Newtonsoft.Json.JsonObjectAttribute
Constructors
IfConditionActivity() |
Initializes a new instance of the IfConditionActivity class. |
IfConditionActivity(String, Expression, IDictionary<String,Object>, String, IList<ActivityDependency>, IList<UserProperty>, IList<Activity>, IList<Activity>) |
Initializes a new instance of the IfConditionActivity class. |
Properties
AdditionalProperties |
Gets or sets unmatched properties from the message are deserialized this collection (Inherited from Activity) |
DependsOn |
Gets or sets activity depends on condition. (Inherited from Activity) |
Description |
Gets or sets activity description. (Inherited from Activity) |
Expression |
Gets or sets an expression that would evaluate to Boolean. This is used to determine the block of activities (ifTrueActivities or ifFalseActivities) that will be executed. |
IfFalseActivities |
Gets or sets list of activities to execute if expression is evaluated to false. This is an optional property and if not provided, the activity will exit without any action. |
IfTrueActivities |
Gets or sets list of activities to execute if expression is evaluated to true. This is an optional property and if not provided, the activity will exit without any action. |
Name |
Gets or sets activity name. (Inherited from Activity) |
UserProperties |
Gets or sets activity user properties. (Inherited from Activity) |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET