ForEachActivity(String, Expression, IEnumerable<Activity>) Constructor
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.
Initializes a new instance of ForEachActivity.
public ForEachActivity (string name, Azure.Analytics.Synapse.Artifacts.Models.Expression items, System.Collections.Generic.IEnumerable<Azure.Analytics.Synapse.Artifacts.Models.Activity> activities);
new Azure.Analytics.Synapse.Artifacts.Models.ForEachActivity : string * Azure.Analytics.Synapse.Artifacts.Models.Expression * seq<Azure.Analytics.Synapse.Artifacts.Models.Activity> -> Azure.Analytics.Synapse.Artifacts.Models.ForEachActivity
Public Sub New (name As String, items As Expression, activities As IEnumerable(Of Activity))
Parameters
- name
- String
Activity name.
- items
- Expression
Collection to iterate.
- activities
- IEnumerable<Activity>
List of activities to execute . Please note Activity is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AppendVariableActivity, AzureDataExplorerCommandActivity, AzureFunctionActivity, AzureMLBatchExecutionActivity, AzureMLExecutePipelineActivity, AzureMLUpdateResourceActivity, ControlActivity, CopyActivity, CustomActivity, DatabricksNotebookActivity, DatabricksSparkJarActivity, DatabricksSparkPythonActivity, DataLakeAnalyticsUsqlActivity, DeleteActivity, ExecuteDataFlowActivity, ExecutePipelineActivity, ExecuteSsisPackageActivity, ExecutionActivity, FailActivity, FilterActivity, ForEachActivity, GetMetadataActivity, HDInsightHiveActivity, HDInsightMapReduceActivity, HDInsightPigActivity, HDInsightSparkActivity, HDInsightStreamingActivity, IfConditionActivity, LookupActivity, ScriptActivity, SetVariableActivity, SynapseSparkJobDefinitionActivity, SqlPoolStoredProcedureActivity, SqlServerStoredProcedureActivity, SwitchActivity, SynapseNotebookActivity, UntilActivity, ValidationActivity, WaitActivity, WebActivity and WebHookActivity.
Exceptions
name
, items
or activities
is null.
Applies to
Azure SDK for .NET