# IDurableTaskManager.TrySignalAsync(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#L180)

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

Delivers `signal` with `value` to an invoked task of this grain, and returns how the task handled it.

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

[DurableSignalResult](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.tasks.durablesignalresult/) or [DurableSignalResult](/orleans/docs/api/csharp/microsoft.orleans.durable/orleans.durable.tasks.durablesignalresult/) once the task durably holds the value, or the reason the task rejected it, which changes nothing.
