# EventHubQueueCache.GetCursor(StreamId, StreamSequenceToken?)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.eventhubqueuecache/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.eventhubqueuecache/methods/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/EventHubQueueCache.cs#L137)

```csharp
public object GetCursor(StreamId streamId, StreamSequenceToken? sequenceToken)
```

Get a cursor into the cache to read events from a stream.

### Parameters

- `streamId` (`StreamId`)
- `sequenceToken` (`StreamSequenceToken?`)
