Udostępnij za pośrednictwem


IDurableEntityContext.StartNewOrchestration(String, Object, String) Method

Definition

Schedules an 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.

Applies to