Class DurableActivityContextBase
Abstract base class for DurableActivityContext.
public abstract class DurableActivityContextBase
- Inheritance
-
DurableActivityContextBase
- Derived
- Inherited Members
Constructors
DurableActivityContextBase()
protected DurableActivityContextBase()
Properties
InstanceId
Gets the instance ID of the currently executing orchestration.
public virtual string InstanceId { get; }
Property Value
- string
The ID of the current orchestration instance.
Remarks
The instance ID is generated and fixed when the orchestrator function is scheduled. It can be either auto-generated, in which case it is formatted as a GUID, or it can be user-specified with any format.
Methods
GetInput<T>()
Gets the input of the current activity function as a deserialized value.
public abstract T GetInput<T>()
Returns
- T
The deserialized input value.
Type Parameters
T
Any data contract type that matches the JSON input.