Share via


DurableOrchestrationClient.StartNewAsync(String, String, Object) Method

Definition

Starts a new instance of the specified orchestrator function.

public override System.Threading.Tasks.Task<string> StartNewAsync(string orchestratorFunctionName, string instanceId, object input);
override this.StartNewAsync : string * string * obj -> System.Threading.Tasks.Task<string>
Public Overrides Function StartNewAsync (orchestratorFunctionName As String, instanceId As String, input As Object) As Task(Of String)

Parameters

orchestratorFunctionName
System.String

The name of the orchestrator function to start.

instanceId
System.String

The ID to use for the new orchestration instance.

input
System.Object

JSON-serializeable input value for the orchestrator function.

Returns

System.Threading.Tasks.Task<System.String>

A task that completes when the orchestration is started.

Applies to