Udostępnij za pośrednictwem


SwitchActivity Constructors

Definition

Overloads

SwitchActivity()

Initializes a new instance of the SwitchActivity class.

SwitchActivity(String, Expression, IDictionary<String,Object>, String, IList<ActivityDependency>, IList<UserProperty>, IList<SwitchCase>, IList<Activity>)

Initializes a new instance of the SwitchActivity class.

SwitchActivity()

Initializes a new instance of the SwitchActivity class.

public SwitchActivity ();
Public Sub New ()

Applies to

SwitchActivity(String, Expression, IDictionary<String,Object>, String, IList<ActivityDependency>, IList<UserProperty>, IList<SwitchCase>, IList<Activity>)

Initializes a new instance of the SwitchActivity class.

public SwitchActivity (string name, Microsoft.Azure.Management.DataFactory.Models.Expression on, System.Collections.Generic.IDictionary<string,object> additionalProperties = default, string description = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.ActivityDependency> dependsOn = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.UserProperty> userProperties = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.SwitchCase> cases = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.Activity> defaultActivities = default);
new Microsoft.Azure.Management.DataFactory.Models.SwitchActivity : string * Microsoft.Azure.Management.DataFactory.Models.Expression * System.Collections.Generic.IDictionary<string, obj> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.ActivityDependency> * System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.UserProperty> * System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.SwitchCase> * System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.Activity> -> Microsoft.Azure.Management.DataFactory.Models.SwitchActivity
Public Sub New (name As String, on As Expression, Optional additionalProperties As IDictionary(Of String, Object) = Nothing, Optional description As String = Nothing, Optional dependsOn As IList(Of ActivityDependency) = Nothing, Optional userProperties As IList(Of UserProperty) = Nothing, Optional cases As IList(Of SwitchCase) = Nothing, Optional defaultActivities As IList(Of Activity) = Nothing)

Parameters

name
String

Activity name.

on
Expression

An expression that would evaluate to a string or integer. This is used to determine the block of activities in cases that will be executed.

additionalProperties
IDictionary<String,Object>

Unmatched properties from the message are deserialized this collection

description
String

Activity description.

dependsOn
IList<ActivityDependency>

Activity depends on condition.

userProperties
IList<UserProperty>

Activity user properties.

cases
IList<SwitchCase>

List of cases that correspond to expected values of the 'on' property. This is an optional property and if not provided, the activity will execute activities provided in defaultActivities.

defaultActivities
IList<Activity>

List of activities to execute if no case condition is satisfied. This is an optional property and if not provided, the activity will exit without any action.

Applies to