FailActivity Constructors
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.
Overloads
FailActivity() |
Initializes a new instance of the FailActivity class. |
FailActivity(String, Object, Object, IDictionary<String,Object>, String, IList<ActivityDependency>, IList<UserProperty>) |
Initializes a new instance of the FailActivity class. |
FailActivity()
Initializes a new instance of the FailActivity class.
public FailActivity ();
Public Sub New ()
Applies to
FailActivity(String, Object, Object, IDictionary<String,Object>, String, IList<ActivityDependency>, IList<UserProperty>)
Initializes a new instance of the FailActivity class.
public FailActivity (string name, object message, object errorCode, 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);
new Microsoft.Azure.Management.DataFactory.Models.FailActivity : string * obj * obj * 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> -> Microsoft.Azure.Management.DataFactory.Models.FailActivity
Public Sub New (name As String, message As Object, errorCode As Object, 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)
Parameters
- name
- String
Activity name.
- message
- Object
The error message that surfaced in the Fail activity. It can be dynamic content that's evaluated to a non empty/blank string at runtime. Type: string (or Expression with resultType string).
- errorCode
- Object
The error code that categorizes the error type of the Fail activity. It can be dynamic content that's evaluated to a non empty/blank string at runtime. Type: string (or Expression with resultType string).
- 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.
Applies to
Azure SDK for .NET