Click or drag to resize

ActivityOptions Class

Specifies the options used for executing an activity.
Inheritance Hierarchy

Namespace:  Neon.Cadence
Assembly:  Neon.Cadence (in Neon.Cadence.dll) Version: 2.14.0
public class ActivityOptions

The ActivityOptions type exposes the following members.

Public methodActivityOptions
Initializes a new instance of the ActivityOptions class
Public propertyDomain
Optionally specifies the target Cadence domain. This defaults to the domain specified by Domain, Domain, or to the parent workflow's domain, in that order of precedence.
Public propertyHeartbeatTimeout
Optionally specifies the maximum time the activity has to send a heartbeat back to Cadence. This defaults to Zero which indicates that no heartbeating is required.
Public propertyRetryOptions
Optionally specifies the activity retry policy. The default value is null which indicates that there will be no retry attempts.
Public propertyScheduleToCloseTimeout
Optionally specifies the end-to-end timeout for the activity. The default Zero value uses the sum of ScheduleToStartTimeout and StartToCloseTimeout.
Public propertyScheduleToStartTimeout
Specifies the maximum time the activity be queued, waiting to be scheduled on a worker. This defaults to ActivityScheduleToStartTimeoutSeconds.
Public propertyStartToCloseTimeout
Specifies the maximum time the activity may take to run. This defaults to ActivityStartToCloseTimeoutSeconds.
Public propertyTaskList
Optionally specifies the target Cadence task list. This defaults to the task list specified by TaskList, TaskList, or the parent workflow's task list, in that order of precedence.
Public propertyWaitForCancellation
Optionally specifies that the cancelled activities won't be considered to be finished until they actually complete. This defaults to false.
Public methodClone
Returns a shallow clone of the current instance.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also