IDurableOrchestrationContext.CallSubOrchestratorWithRetryAsync 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.
Overloads
CallSubOrchestratorWithRetryAsync(String, RetryOptions, Object) |
Schedules an orchestrator function named |
CallSubOrchestratorWithRetryAsync(String, RetryOptions, String, Object) |
Schedules an orchestrator function named |
CallSubOrchestratorWithRetryAsync<TResult>(String, RetryOptions, String, Object) |
Schedules an orchestrator function named |
CallSubOrchestratorWithRetryAsync<TResult>(String, RetryOptions, Object) |
Schedules an orchestrator function named |
CallSubOrchestratorWithRetryAsync(String, RetryOptions, Object)
Schedules an orchestrator function named functionName
for execution with retry options.
public System.Threading.Tasks.Task CallSubOrchestratorWithRetryAsync (string functionName, Microsoft.Azure.WebJobs.Extensions.DurableTask.RetryOptions retryOptions, object input);
abstract member CallSubOrchestratorWithRetryAsync : string * Microsoft.Azure.WebJobs.Extensions.DurableTask.RetryOptions * obj -> System.Threading.Tasks.Task
Public Function CallSubOrchestratorWithRetryAsync (functionName As String, retryOptions As RetryOptions, input As Object) As Task
Parameters
- functionName
- String
The name of the orchestrator function to call.
- retryOptions
- RetryOptions
The retry option for the orchestrator function.
- input
- Object
The JSON-serializeable input to pass to the orchestrator function.
Returns
A durable task that completes when the called orchestrator function completes or fails.
Exceptions
The retry option object is null.
The specified function does not exist, is disabled, or is not an orchestrator function.
The current thread is different than the thread which started the orchestrator execution.
The activity function failed with an unhandled exception.
Applies to
CallSubOrchestratorWithRetryAsync(String, RetryOptions, String, Object)
Schedules an orchestrator function named functionName
for execution with retry options.
public System.Threading.Tasks.Task CallSubOrchestratorWithRetryAsync (string functionName, Microsoft.Azure.WebJobs.Extensions.DurableTask.RetryOptions retryOptions, string instanceId, object input);
abstract member CallSubOrchestratorWithRetryAsync : string * Microsoft.Azure.WebJobs.Extensions.DurableTask.RetryOptions * string * obj -> System.Threading.Tasks.Task
Public Function CallSubOrchestratorWithRetryAsync (functionName As String, retryOptions As RetryOptions, instanceId As String, input As Object) As Task
Parameters
- functionName
- String
The name of the orchestrator function to call.
- retryOptions
- RetryOptions
The retry option for the orchestrator function.
- instanceId
- String
A unique ID to use for the sub-orchestration instance.
- input
- Object
The JSON-serializeable input to pass to the orchestrator function.
Returns
A durable task that completes when the called orchestrator function completes or fails.
Exceptions
The retry option object is null.
The specified function does not exist, is disabled, or is not an orchestrator function.
The current thread is different than the thread which started the orchestrator execution.
The activity function failed with an unhandled exception.
Applies to
CallSubOrchestratorWithRetryAsync<TResult>(String, RetryOptions, String, Object)
Schedules an orchestrator function named functionName
for execution with retry options.
public System.Threading.Tasks.Task<TResult> CallSubOrchestratorWithRetryAsync<TResult> (string functionName, Microsoft.Azure.WebJobs.Extensions.DurableTask.RetryOptions retryOptions, string instanceId, object input);
abstract member CallSubOrchestratorWithRetryAsync : string * Microsoft.Azure.WebJobs.Extensions.DurableTask.RetryOptions * string * obj -> System.Threading.Tasks.Task<'Result>
Public Function CallSubOrchestratorWithRetryAsync(Of TResult) (functionName As String, retryOptions As RetryOptions, instanceId As String, input As Object) As Task(Of TResult)
Type Parameters
- TResult
The return type of the scheduled orchestrator function.
Parameters
- functionName
- String
The name of the orchestrator function to call.
- retryOptions
- RetryOptions
The retry option for the orchestrator function.
- instanceId
- String
A unique ID to use for the sub-orchestration instance.
- input
- Object
The JSON-serializeable input to pass to the orchestrator function.
Returns
A durable task that completes when the called orchestrator function completes or fails.
Exceptions
The retry option object is null.
The specified function does not exist, is disabled, or is not an orchestrator function.
The current thread is different than the thread which started the orchestrator execution.
The activity function failed with an unhandled exception.
Applies to
CallSubOrchestratorWithRetryAsync<TResult>(String, RetryOptions, Object)
Schedules an orchestrator function named functionName
for execution with retry options.
public System.Threading.Tasks.Task<TResult> CallSubOrchestratorWithRetryAsync<TResult> (string functionName, Microsoft.Azure.WebJobs.Extensions.DurableTask.RetryOptions retryOptions, object input);
abstract member CallSubOrchestratorWithRetryAsync : string * Microsoft.Azure.WebJobs.Extensions.DurableTask.RetryOptions * obj -> System.Threading.Tasks.Task<'Result>
Public Function CallSubOrchestratorWithRetryAsync(Of TResult) (functionName As String, retryOptions As RetryOptions, input As Object) As Task(Of TResult)
Type Parameters
- TResult
The return type of the scheduled orchestrator function.
Parameters
- functionName
- String
The name of the orchestrator function to call.
- retryOptions
- RetryOptions
The retry option for the orchestrator function.
- input
- Object
The JSON-serializeable input to pass to the orchestrator function.
Returns
A durable task that completes when the called orchestrator function completes or fails.
Exceptions
The retry option object is null.
The specified function does not exist, is disabled, or is not an orchestrator function.
The current thread is different than the thread which started the orchestrator execution.
The activity function failed with an unhandled exception.