Click or drag to resize

WorkflowMethodAttribute Class

Used to identify a workflow interface method as a workflow entry point.
Inheritance Hierarchy

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

The WorkflowMethodAttribute type exposes the following members.

Public methodWorkflowMethodAttribute
Public propertyCronSchedule
Optionally specifies a recurring schedule for the workflow method. This can be set to a string specifying the minute, hour, day of month, month, and day of week scheduling parameters using the standard Linux CRON format described here:
Public propertyDecisionTaskTimeoutSeconds
Optionally specifies the maximum execution time for an individual workflow decision task. The maximum possible duration is 60 seconds.
Public propertyDomain
Optionally specifies the target Cadence domain.
Public propertyIsFullName

Optionally indicates that Name holds the fully qualified type name for the workflow and that the .NET client will not add a prefix to Name when registering the workflow.

This is useful when interoperating with workflows written in another language by providing a way to specify a specific workflow type name.

Note Note
Name cannot be null or empty when this is true.
Public propertyName
Specifies the name to be used to identify a specific workflow method. This is optional for workflow interfaces that have only one workflow entry point method but is required for interfaces with multiple entry points.
Public propertyScheduleToStartTimeoutSeconds
Optionally specifies the maximum time a workflow can wait between being scheduled and being actually executed on a worker.
Public propertyStartToCloseTimeoutSeconds
Optionally specifies the maximum workflow execution time.
Public propertyTaskList
Optionally specifies the target Cadence task list.
Public propertyTypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)
Public propertyWorkflowId
Optionally specifies the workflow ID.
Public propertyWorkflowIdReusePolicy
Specifies the workflow ID reuse policy.
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
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
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDefaultAttribute
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Public methodMatch
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
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