IDurableOrchestrationContext.StartNewOrchestration Method
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.
Schedules a orchestration function named functionName
for execution./>.
Any result or exception is ignored (fire and forget).
public string StartNewOrchestration (string functionName, object input, string instanceId = default);
abstract member StartNewOrchestration : string * obj * string -> string
Public Function StartNewOrchestration (functionName As String, input As Object, Optional instanceId As String = Nothing) As String
Parameters
- functionName
- String
The name of the orchestrator function to call.
- input
- Object
the input to pass to the orchestrator function.
- instanceId
- String
optionally, an instance id for the orchestration. By default, a random GUID is used.
Returns
The instance id of the new orchestration.
Exceptions
The specified function does not exist, is disabled, or is not an orchestrator function.