DurableTaskAttribute 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.
Indicates that the attributed class represents a durable task.
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
public sealed class DurableTaskAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)>]
type DurableTaskAttribute = class
inherit Attribute
Public NotInheritable Class DurableTaskAttribute
Inherits Attribute
- Inheritance
-
DurableTaskAttribute
- Attributes
Remarks
This attribute is meant to be used on class definitions that derive from TaskOrchestrator<TInput,TOutput> or TaskActivity<TInput,TOutput>. It is used specifically by build-time source generators to generate type-safe methods for invoking orchestrations or activities.
Constructors
DurableTaskAttribute(String) |
Initializes a new instance of the DurableTaskAttribute class. |
Properties
Name |
Gets the name of the durable task. |