你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CustomActivity Class
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.
Custom activity type.
public class CustomActivity : Azure.ResourceManager.DataFactory.Models.ExecutionActivity, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataFactory.Models.CustomActivity>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataFactory.Models.CustomActivity>
public class CustomActivity : Azure.ResourceManager.DataFactory.Models.ExecutionActivity
type CustomActivity = class
inherit ExecutionActivity
interface IJsonModel<CustomActivity>
interface IPersistableModel<CustomActivity>
type CustomActivity = class
inherit ExecutionActivity
Public Class CustomActivity
Inherits ExecutionActivity
Implements IJsonModel(Of CustomActivity), IPersistableModel(Of CustomActivity)
Public Class CustomActivity
Inherits ExecutionActivity
- Inheritance
- Implements
Constructors
CustomActivity(String, DataFactoryElement<String>) |
Initializes a new instance of CustomActivity. |
Properties
AdditionalProperties |
Additional Properties To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
AutoUserSpecification |
Elevation level and scope for the user, default is nonadmin task. Type: string (or Expression with resultType double). |
Command |
Command for custom activity Type: string (or Expression with resultType string). |
DependsOn |
Activity depends on condition. (Inherited from PipelineActivity) |
Description |
Activity description. (Inherited from PipelineActivity) |
ExtendedProperties |
User defined property bag. There is no restriction on the keys or values that can be used. The user specified custom activity has the full responsibility to consume and interpret the content defined. To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
FolderPath |
Folder path for resource files Type: string (or Expression with resultType string). |
LinkedServiceName |
Linked service reference. (Inherited from ExecutionActivity) |
Name |
Activity name. (Inherited from PipelineActivity) |
OnInactiveMarkAs |
Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default. (Inherited from PipelineActivity) |
Policy |
Activity policy. (Inherited from ExecutionActivity) |
ReferenceObjects |
Reference objects. |
ResourceLinkedService |
Resource linked service reference. |
RetentionTimeInDays |
The retention time for the files submitted for custom activity. Type: double (or Expression with resultType double). To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
State |
Activity state. This is an optional property and if not provided, the state will be Active by default. (Inherited from PipelineActivity) |
UserProperties |
Activity user properties. (Inherited from PipelineActivity) |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from ExecutionActivity) |