# EnumerationResult

Package: [Microsoft.Orleans.Core.Abstractions](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Core.Abstractions)

```csharp
[Orleans.GenerateSerializer]
public enum EnumerationResult
```

Identifies enumeration results.

## Fields

- `Heartbeat` = `1` - This result represents a heartbeat. Issue a subsequent enumeration call to receive a new result.
- `Element` = `2` - This result represents a value from the enumeration.
- `Batch` = `4` - This result represents a sequence of values from the enumeration.
- `Completed` = `8` - This result indicates that enumeration has completed and that no further results will be produced.
- `MissingEnumeratorError` = `16` - The attempt to enumerate failed because the enumerator was not found.
- `Error` = `32` - The attempt to enumerate failed because the enumeration threw an exception.
- `Canceled` = `64` - Enumeration was canceled.
- `CompletedWithElement` = `10` - This result indicates that enumeration has completed and that no further results will be produced.
- `CompletedWithBatch` = `12` - This result indicates that enumeration has completed and that no further results will be produced.
