IfConditionActivity Class

Definition

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
IfConditionActivity
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