Share via


DurableOrchestrationClientBase.StartNewAsync Method

Definition

Overloads

StartNewAsync(String, Object)

Starts a new execution of the specified orchestrator function.

StartNewAsync(String, String, Object)

Starts a new instance of the specified orchestrator function.

StartNewAsync(String, Object)

Source:
DurableOrchestrationClientBase.cs

Starts a new execution of the specified orchestrator function.

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

Parameters

orchestratorFunctionName
System.String

The name of the orchestrator function to start.

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.

Exceptions

System.ArgumentException

The specified function does not exist, is disabled, or is not an orchestrator function.

Applies to

StartNewAsync(String, String, Object)

Source:
DurableOrchestrationClientBase.cs

Starts a new instance of the specified orchestrator function.

public abstract System.Threading.Tasks.Task<string> StartNewAsync(string orchestratorFunctionName, string instanceId, object input);
abstract member StartNewAsync : string * string * obj -> System.Threading.Tasks.Task<string>
Public MustOverride 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.

Exceptions

System.ArgumentException

The specified function does not exist, is disabled, or is not an orchestrator function.

Remarks

If an orchestration instance with the specified ID already exists, the existing instance will be silently replaced by this new instance.

Applies to