Udostępnij za pośrednictwem


FailActivity(String, Object, Object) Constructor

Definition

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