# IDurableTaskManager.SignalAsync(TaskId, DurableSignal&lt;T&gt;, T, CancellationToken)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.tasks.idurabletaskmanager/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.tasks.idurabletaskmanager/methods/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable/DurableTasks/IDurableTaskManager.cs#L147)

```csharp
public abstract ValueTask SignalAsync<T>(TaskId taskId, DurableSignal<T> signal, T value, CancellationToken cancellationToken = default(CancellationToken))
```

Delivers `signal` with `value` to an invoked task of this grain.

### Parameters

- `taskId` (`TaskId`): The identifier of a task which a client or another grain invoked on this grain.
- `signal` (`DurableSignal<T>`): The signal descriptor which the task's waits share.
- `value` (`T`): The signal's value.
- `cancellationToken` (`CancellationToken`): A token which abandons waiting for the signal to commit.

### Returns

An operation which completes once the signal commits with this grain's pending state changes.

### Exceptions

- `Orleans.Durable.Tasks.DurableTaskNotFoundException`: This grain retains no invoked task `taskId`.
- `System.InvalidOperationException`: The task holds a different value for the signal, or it is terminal and holds no value for the signal.
