Share via


IfConditionActivity(String, Expression) Constructor

Definition

Initializes a new instance of IfConditionActivity.

public IfConditionActivity (string name, Azure.Analytics.Synapse.Artifacts.Models.Expression expression);
new Azure.Analytics.Synapse.Artifacts.Models.IfConditionActivity : string * Azure.Analytics.Synapse.Artifacts.Models.Expression -> Azure.Analytics.Synapse.Artifacts.Models.IfConditionActivity
Public Sub New (name As String, expression As Expression)

Parameters

name
String

Activity name.

expression
Expression

An expression that would evaluate to Boolean. This is used to determine the block of activities (ifTrueActivities or ifFalseActivities) that will be executed.

Exceptions

name or expression is null.

Applies to