你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IDurableEntityContext.SignalEntity 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SignalEntity(EntityId, String, Object) |
向实体发出信号以执行操作,而无需等待响应。 任何结果或异常都将被忽略 (触发并忘记) 。 |
SignalEntity(EntityId, DateTime, String, Object) |
向实体发出在指定时间执行操作的信号。 任何结果或异常都将被忽略 (触发并忘记) 。 |
SignalEntity<TEntityInterface>(EntityId, Action<TEntityInterface>) |
向实体发出执行操作的信号。 |
SignalEntity<TEntityInterface>(String, Action<TEntityInterface>) |
向实体发出执行操作的信号。 |
SignalEntity<TEntityInterface>(EntityId, DateTime, Action<TEntityInterface>) |
向实体发出在指定时间执行操作的信号。 |
SignalEntity<TEntityInterface>(String, DateTime, Action<TEntityInterface>) |
向实体发出在指定时间执行操作的信号。 |
SignalEntity(EntityId, String, Object)
- Source:
- IDurableEntityContext.cs
向实体发出信号以执行操作,而无需等待响应。 任何结果或异常都将被忽略 (触发并忘记) 。
public void SignalEntity (Microsoft.Azure.WebJobs.Extensions.DurableTask.EntityId entity, string operationName, object operationInput = default);
abstract member SignalEntity : Microsoft.Azure.WebJobs.Extensions.DurableTask.EntityId * string * obj -> unit
Public Sub SignalEntity (entity As EntityId, operationName As String, Optional operationInput As Object = Nothing)
参数
- entity
- EntityId
目标实体。
- operationName
- String
操作的名称。
- operationInput
- Object
操作输入。
适用于
SignalEntity(EntityId, DateTime, String, Object)
- Source:
- IDurableEntityContext.cs
向实体发出在指定时间执行操作的信号。 任何结果或异常都将被忽略 (触发并忘记) 。
public void SignalEntity (Microsoft.Azure.WebJobs.Extensions.DurableTask.EntityId entity, DateTime scheduledTimeUtc, string operationName, object operationInput = default);
abstract member SignalEntity : Microsoft.Azure.WebJobs.Extensions.DurableTask.EntityId * DateTime * string * obj -> unit
Public Sub SignalEntity (entity As EntityId, scheduledTimeUtc As DateTime, operationName As String, Optional operationInput As Object = Nothing)
参数
- entity
- EntityId
目标实体。
- scheduledTimeUtc
- DateTime
开始操作的时间。
- operationName
- String
操作的名称。
- operationInput
- Object
操作的输入。
适用于
SignalEntity<TEntityInterface>(EntityId, Action<TEntityInterface>)
- Source:
- IDurableEntityContext.cs
向实体发出执行操作的信号。
public void SignalEntity<TEntityInterface> (Microsoft.Azure.WebJobs.Extensions.DurableTask.EntityId entityId, Action<TEntityInterface> operation);
abstract member SignalEntity : Microsoft.Azure.WebJobs.Extensions.DurableTask.EntityId * Action<'EntityInterface> -> unit
Public Sub SignalEntity(Of TEntityInterface) (entityId As EntityId, operation As Action(Of TEntityInterface))
类型参数
- TEntityInterface
实体接口。
参数
- entityId
- EntityId
目标实体。
- operation
- Action<TEntityInterface>
对实体执行所需操作的委托。
适用于
SignalEntity<TEntityInterface>(String, Action<TEntityInterface>)
- Source:
- IDurableEntityContext.cs
向实体发出执行操作的信号。
public void SignalEntity<TEntityInterface> (string entityKey, Action<TEntityInterface> operation);
abstract member SignalEntity : string * Action<'EntityInterface> -> unit
Public Sub SignalEntity(Of TEntityInterface) (entityKey As String, operation As Action(Of TEntityInterface))
类型参数
- TEntityInterface
实体接口。
参数
- entityKey
- String
目标实体键。
- operation
- Action<TEntityInterface>
对实体执行所需操作的委托。
适用于
SignalEntity<TEntityInterface>(EntityId, DateTime, Action<TEntityInterface>)
- Source:
- IDurableEntityContext.cs
向实体发出在指定时间执行操作的信号。
public void SignalEntity<TEntityInterface> (Microsoft.Azure.WebJobs.Extensions.DurableTask.EntityId entityId, DateTime scheduledTimeUtc, Action<TEntityInterface> operation);
abstract member SignalEntity : Microsoft.Azure.WebJobs.Extensions.DurableTask.EntityId * DateTime * Action<'EntityInterface> -> unit
Public Sub SignalEntity(Of TEntityInterface) (entityId As EntityId, scheduledTimeUtc As DateTime, operation As Action(Of TEntityInterface))
类型参数
- TEntityInterface
实体接口。
参数
- entityId
- EntityId
目标实体。
- scheduledTimeUtc
- DateTime
开始操作的时间。
- operation
- Action<TEntityInterface>
对实体执行所需操作的委托。
适用于
SignalEntity<TEntityInterface>(String, DateTime, Action<TEntityInterface>)
- Source:
- IDurableEntityContext.cs
向实体发出在指定时间执行操作的信号。
public void SignalEntity<TEntityInterface> (string entityKey, DateTime scheduledTimeUtc, Action<TEntityInterface> operation);
abstract member SignalEntity : string * DateTime * Action<'EntityInterface> -> unit
Public Sub SignalEntity(Of TEntityInterface) (entityKey As String, scheduledTimeUtc As DateTime, operation As Action(Of TEntityInterface))
类型参数
- TEntityInterface
实体接口。
参数
- entityKey
- String
目标实体键。
- scheduledTimeUtc
- DateTime
开始操作的时间。
- operation
- Action<TEntityInterface>
对实体执行所需操作的委托。