Udostępnij za pośrednictwem


IDurableEntityContext.SignalEntity Method

Definition

Overloads

SignalEntity(EntityId, String, Object)

Signals an entity to perform an operation, without waiting for a response. Any result or exception is ignored (fire and forget).

SignalEntity(EntityId, DateTime, String, Object)

Signals an entity to perform an operation, at a specified time. Any result or exception is ignored (fire and forget).

SignalEntity<TEntityInterface>(EntityId, Action<TEntityInterface>)

Signals an entity to perform an operation.

SignalEntity<TEntityInterface>(String, Action<TEntityInterface>)

Signals an entity to perform an operation.

SignalEntity<TEntityInterface>(EntityId, DateTime, Action<TEntityInterface>)

Signals an entity to perform an operation, at a specified time.

SignalEntity<TEntityInterface>(String, DateTime, Action<TEntityInterface>)

Signals an entity to perform an operation, at a specified time.

SignalEntity(EntityId, String, Object)

Source:
IDurableEntityContext.cs

Signals an entity to perform an operation, without waiting for a response. Any result or exception is ignored (fire and forget).

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)

Parameters

entity
EntityId

The target entity.

operationName
String

The name of the operation.

operationInput
Object

The operation input.

Applies to

SignalEntity(EntityId, DateTime, String, Object)

Source:
IDurableEntityContext.cs

Signals an entity to perform an operation, at a specified time. Any result or exception is ignored (fire and forget).

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)

Parameters

entity
EntityId

The target entity.

scheduledTimeUtc
DateTime

The time at which to start the operation.

operationName
String

The name of the operation.

operationInput
Object

The input for the operation.

Applies to

SignalEntity<TEntityInterface>(EntityId, Action<TEntityInterface>)

Source:
IDurableEntityContext.cs

Signals an entity to perform an operation.

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))

Type Parameters

TEntityInterface

Entity interface.

Parameters

entityId
EntityId

The target entity.

operation
Action<TEntityInterface>

A delegate that performs the desired operation on the entity.

Applies to

SignalEntity<TEntityInterface>(String, Action<TEntityInterface>)

Source:
IDurableEntityContext.cs

Signals an entity to perform an operation.

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))

Type Parameters

TEntityInterface

Entity interface.

Parameters

entityKey
String

The target entity key.

operation
Action<TEntityInterface>

A delegate that performs the desired operation on the entity.

Applies to

SignalEntity<TEntityInterface>(EntityId, DateTime, Action<TEntityInterface>)

Source:
IDurableEntityContext.cs

Signals an entity to perform an operation, at a specified time.

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))

Type Parameters

TEntityInterface

Entity interface.

Parameters

entityId
EntityId

The target entity.

scheduledTimeUtc
DateTime

The time at which to start the operation.

operation
Action<TEntityInterface>

A delegate that performs the desired operation on the entity.

Applies to

SignalEntity<TEntityInterface>(String, DateTime, Action<TEntityInterface>)

Source:
IDurableEntityContext.cs

Signals an entity to perform an operation, at a specified time.

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))

Type Parameters

TEntityInterface

Entity interface.

Parameters

entityKey
String

The target entity key.

scheduledTimeUtc
DateTime

The time at which to start the operation.

operation
Action<TEntityInterface>

A delegate that performs the desired operation on the entity.

Applies to