你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IDurableOrchestrationContext.CallSubOrchestratorWithRetryAsync 方法

定义

重载

CallSubOrchestratorWithRetryAsync(String, RetryOptions, Object)

使用重试选项计划名为 的 functionName 业务流程协调程序函数以执行。

CallSubOrchestratorWithRetryAsync(String, RetryOptions, String, Object)

使用重试选项计划名为 的 functionName 业务流程协调程序函数以执行。

CallSubOrchestratorWithRetryAsync<TResult>(String, RetryOptions, String, Object)

使用重试选项计划名为 的 functionName 业务流程协调程序函数以执行。

CallSubOrchestratorWithRetryAsync<TResult>(String, RetryOptions, Object)

使用重试选项计划名为 的 functionName 业务流程协调程序函数以执行。

CallSubOrchestratorWithRetryAsync(String, RetryOptions, Object)

Source:
IDurableOrchestrationContext.cs

使用重试选项计划名为 的 functionName 业务流程协调程序函数以执行。

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

参数

functionName
String

要调用的业务流程协调程序函数的名称。

retryOptions
RetryOptions

业务流程协调程序函数的重试选项。

input
Object

要传递给业务流程协调程序函数的 JSON 可序列化输入。

返回

在调用的业务流程协调程序函数完成或失败时完成的持久任务。

例外

重试选项对象为 null。

指定的函数不存在、已禁用或不是业务流程协调程序函数。

当前线程不同于启动业务流程协调程序执行的线程。

活动函数失败,出现未经处理的异常。

适用于

CallSubOrchestratorWithRetryAsync(String, RetryOptions, String, Object)

Source:
IDurableOrchestrationContext.cs

使用重试选项计划名为 的 functionName 业务流程协调程序函数以执行。

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

参数

functionName
String

要调用的业务流程协调程序函数的名称。

retryOptions
RetryOptions

业务流程协调程序函数的重试选项。

instanceId
String

用于子业务流程实例的唯一 ID。

input
Object

要传递给业务流程协调程序函数的 JSON 可序列化输入。

返回

在调用的业务流程协调程序函数完成或失败时完成的持久任务。

例外

重试选项对象为 null。

指定的函数不存在、已禁用或不是业务流程协调程序函数。

当前线程不同于启动业务流程协调程序执行的线程。

活动函数失败,出现未经处理的异常。

适用于

CallSubOrchestratorWithRetryAsync<TResult>(String, RetryOptions, String, Object)

Source:
IDurableOrchestrationContext.cs

使用重试选项计划名为 的 functionName 业务流程协调程序函数以执行。

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)

类型参数

TResult

计划业务流程协调程序函数的返回类型。

参数

functionName
String

要调用的业务流程协调程序函数的名称。

retryOptions
RetryOptions

业务流程协调程序函数的重试选项。

instanceId
String

用于子业务流程实例的唯一 ID。

input
Object

要传递给业务流程协调程序函数的 JSON 可序列化输入。

返回

Task<TResult>

在调用的业务流程协调程序函数完成或失败时完成的持久任务。

例外

重试选项对象为 null。

指定的函数不存在、已禁用或不是业务流程协调程序函数。

当前线程不同于启动业务流程协调程序执行的线程。

活动函数失败,出现未经处理的异常。

适用于

CallSubOrchestratorWithRetryAsync<TResult>(String, RetryOptions, Object)

Source:
IDurableOrchestrationContext.cs

使用重试选项计划名为 的 functionName 业务流程协调程序函数以执行。

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)

类型参数

TResult

计划业务流程协调程序函数的返回类型。

参数

functionName
String

要调用的业务流程协调程序函数的名称。

retryOptions
RetryOptions

业务流程协调程序函数的重试选项。

input
Object

要传递给业务流程协调程序函数的 JSON 可序列化输入。

返回

Task<TResult>

在调用的业务流程协调程序函数完成或失败时完成的持久任务。

例外

重试选项对象为 null。

指定的函数不存在、已禁用或不是业务流程协调程序函数。

当前线程不同于启动业务流程协调程序执行的线程。

活动函数失败,出现未经处理的异常。

适用于