次の方法で共有


FailActivity Constructor

Definition

Initializes a new instance of FailActivity.

public FailActivity (string name, Azure.Core.Expressions.DataFactory.DataFactoryElement<string> message, Azure.Core.Expressions.DataFactory.DataFactoryElement<string> errorCode);
new Azure.ResourceManager.DataFactory.Models.FailActivity : string * Azure.Core.Expressions.DataFactory.DataFactoryElement<string> * Azure.Core.Expressions.DataFactory.DataFactoryElement<string> -> Azure.ResourceManager.DataFactory.Models.FailActivity
Public Sub New (name As String, message As DataFactoryElement(Of String), errorCode As DataFactoryElement(Of String))

Parameters

name
String

Activity name.

message
DataFactoryElement<String>

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
DataFactoryElement<String>

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