# ScheduledTask&lt;TResult&gt;.TryGetResult(TResult)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durable.abstractions/orleans.durable.tasks.scheduledtask-1/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.durable.abstractions/orleans.durable.tasks.scheduledtask-1/methods/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable.Abstractions/ScheduledTask.cs#L677-L684)

```csharp
public bool TryGetResult(out TResult value)
```

Gets the result, when this handle has observed that the task completed successfully.

### Parameters

- `value` (`TResult`): The successful result, or `default`.

### Returns

`true` when this handle observed a successful completion; otherwise `false`, for a task which failed, was canceled, or whose terminal response this handle hasn't observed.
