你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CustomActivity 构造函数

定义

重载

CustomActivity()

初始化 CustomActivity 类的新实例。

CustomActivity(String, Object, IDictionary<String,Object>, String, IList<ActivityDependency>, IList<UserProperty>, LinkedServiceReference, ActivityPolicy, LinkedServiceReference, Object, CustomActivityReferenceObject, IDictionary<String,Object>, Object, Object)

初始化 CustomActivity 类的新实例。

CustomActivity()

初始化 CustomActivity 类的新实例。

public CustomActivity ();
Public Sub New ()

适用于

CustomActivity(String, Object, IDictionary<String,Object>, String, IList<ActivityDependency>, IList<UserProperty>, LinkedServiceReference, ActivityPolicy, LinkedServiceReference, Object, CustomActivityReferenceObject, IDictionary<String,Object>, Object, Object)

初始化 CustomActivity 类的新实例。

public CustomActivity (string name, object command, 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, Microsoft.Azure.Management.DataFactory.Models.LinkedServiceReference linkedServiceName = default, Microsoft.Azure.Management.DataFactory.Models.ActivityPolicy policy = default, Microsoft.Azure.Management.DataFactory.Models.LinkedServiceReference resourceLinkedService = default, object folderPath = default, Microsoft.Azure.Management.DataFactory.Models.CustomActivityReferenceObject referenceObjects = default, System.Collections.Generic.IDictionary<string,object> extendedProperties = default, object retentionTimeInDays = default, object autoUserSpecification = default);
new Microsoft.Azure.Management.DataFactory.Models.CustomActivity : string * 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.LinkedServiceReference * Microsoft.Azure.Management.DataFactory.Models.ActivityPolicy * Microsoft.Azure.Management.DataFactory.Models.LinkedServiceReference * obj * Microsoft.Azure.Management.DataFactory.Models.CustomActivityReferenceObject * System.Collections.Generic.IDictionary<string, obj> * obj * obj -> Microsoft.Azure.Management.DataFactory.Models.CustomActivity
Public Sub New (name As String, command 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, Optional linkedServiceName As LinkedServiceReference = Nothing, Optional policy As ActivityPolicy = Nothing, Optional resourceLinkedService As LinkedServiceReference = Nothing, Optional folderPath As Object = Nothing, Optional referenceObjects As CustomActivityReferenceObject = Nothing, Optional extendedProperties As IDictionary(Of String, Object) = Nothing, Optional retentionTimeInDays As Object = Nothing, Optional autoUserSpecification As Object = Nothing)

参数

name
String

活动名称。

command
Object

自定义活动类型的命令:包含 resultType 字符串) 的字符串 (或 Expression。

additionalProperties
IDictionary<String,Object>

消息中的不匹配属性将对此集合进行反序列化

description
String

活动说明。

dependsOn
IList<ActivityDependency>

活动取决于条件。

userProperties
IList<UserProperty>

活动用户属性。

linkedServiceName
LinkedServiceReference

链接服务引用。

policy
ActivityPolicy

活动策略。

resourceLinkedService
LinkedServiceReference

资源链接服务参考。

folderPath
Object

资源文件的文件夹路径 类型:包含 resultType 字符串) 的字符串 (或表达式。

referenceObjects
CustomActivityReferenceObject

引用对象

extendedProperties
IDictionary<String,Object>

用户定义的属性包。 对可以使用的键或值没有限制。 用户指定的自定义活动完全负责使用和解释定义的内容。

retentionTimeInDays
Object

为自定义活动提交的文件的保留时间。 类型:double (或 expression with resultType double) 。

autoUserSpecification
Object

用户的提升级别和范围,默认值为非管理员任务。 类型:包含 resultType double) 的字符串 (或 Expression。

适用于