共用方式為


ControlActivity Class

Definition

Base class for all control activities like IfCondition, ForEach , Until. Please note ControlActivity 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, ExecutePipelineActivity, FailActivity, FilterActivity, ForEachActivity, IfConditionActivity, SetVariableActivity, SwitchActivity, UntilActivity, ValidationActivity, WaitActivity and WebHookActivity.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Analytics.Synapse.Artifacts.Models.ControlActivity+ControlActivityConverter))]
public class ControlActivity : Azure.Analytics.Synapse.Artifacts.Models.Activity
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Analytics.Synapse.Artifacts.Models.ControlActivity+ControlActivityConverter))>]
type ControlActivity = class
    inherit Activity
Public Class ControlActivity
Inherits Activity
Inheritance
ControlActivity
Derived
Attributes

Constructors

ControlActivity(String)

Initializes a new instance of ControlActivity.

Properties

AdditionalProperties

Additional Properties.

(Inherited from Activity)
DependsOn

Activity depends on condition.

(Inherited from Activity)
Description

Activity description.

(Inherited from Activity)
Name

Activity name.

(Inherited from Activity)
OnInactiveMarkAs

Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.

(Inherited from Activity)
State

Activity state. This is an optional property and if not provided, the state will be Active by default.

(Inherited from Activity)
UserProperties

Activity user properties.

(Inherited from Activity)

Applies to