Class DurableActivityContext
The default parameter type for activity functions.
public class DurableActivityContext : DurableActivityContextBase
- Inheritance
-
DurableActivityContext
- Inherited Members
Properties
InstanceId
Gets the instance ID of the currently executing orchestration.
public override 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 override T GetInput<T>()
Returns
- T
The deserialized input value.
Type Parameters
T
Any data contract type that matches the JSON input.