你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IEntityProxyContext.CallAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
CallAsync(EntityId, String, Object) |
调用实体函数。 |
CallAsync<TResult>(EntityId, String, Object) |
调用实体函数。 |
CallAsync(EntityId, String, Object)
- Source:
- IEntityProxyContext.cs
调用实体函数。
public System.Threading.Tasks.Task CallAsync(Microsoft.Azure.WebJobs.Extensions.DurableTask.EntityId entityId, string operationName, object operationInput);
abstract member CallAsync : Microsoft.Azure.WebJobs.Extensions.DurableTask.EntityId * string * obj -> System.Threading.Tasks.Task
Public Function CallAsync (entityId As EntityId, operationName As String, operationInput As Object) As Task
参数
- entityId
- EntityId
实体 ID。
- operationName
- String
实体操作名称。
- operationInput
- Object
实体输入值。
返回
一个 Task ,表示异步操作的结果。
适用于
CallAsync<TResult>(EntityId, String, Object)
- Source:
- IEntityProxyContext.cs
调用实体函数。
public System.Threading.Tasks.Task<TResult> CallAsync<TResult>(Microsoft.Azure.WebJobs.Extensions.DurableTask.EntityId entityId, string operationName, object operationInput);
abstract member CallAsync : Microsoft.Azure.WebJobs.Extensions.DurableTask.EntityId * string * obj -> System.Threading.Tasks.Task<'Result>
Public Function CallAsync(Of TResult) (entityId As EntityId, operationName As String, operationInput As Object) As Task(Of TResult)
类型参数
- TResult
结果类型。
参数
- entityId
- EntityId
实体 ID。
- operationName
- String
实体操作名称。
- operationInput
- Object
实体输入值。
返回
Task<TResult>
一个 Task<TResult> ,表示异步操作的结果。