# DurableTaskGrainExtensions.SignalDurableTaskAsync(IAddressable, TaskId, DurableSignal&lt;T&gt;, T, CancellationToken)

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

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable/DurableTasks/DurableTaskGrainExtensions.cs#L83-L93)

```csharp
public static ValueTask SignalDurableTaskAsync<T>(this IAddressable target, TaskId taskId, DurableSignal<T> signal, T value, CancellationToken cancellationToken = default(CancellationToken))
```

Delivers `signal` with `value` to the invoked task `taskId` on `target`.

### Parameters

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

### Returns

An operation which completes once the send is durable.

### Exceptions

- `System.ArgumentNullException`: `target` or `signal` is `null`.
- `System.ArgumentException`: `taskId` is empty.
- `Orleans.Durable.Tasks.DurableTaskNotFoundException`: Outside a durable execution, the target retains no invoked task `taskId`.
- `System.InvalidOperationException`: Outside a durable execution, the task holds a different value for the signal, or it is terminal and holds no value for the signal.
