FailActivity(String, Object, Object) 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 FailActivity.
public FailActivity (string name, object message, object errorCode);
new Azure.Analytics.Synapse.Artifacts.Models.FailActivity : string * obj * obj -> Azure.Analytics.Synapse.Artifacts.Models.FailActivity
Public Sub New (name As String, message As Object, errorCode As Object)
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).
Exceptions
name
, message
or errorCode
is null.
Applies to
Azure SDK for .NET