Skip to content

IEventHubQueueCache.GetCursor(StreamId, StreamSequenceToken?)

GetCursor(StreamId, StreamSequenceToken?)

abstract
[System.Obsolete(Use TryGetCursor instead.)]
public abstract object GetCursor(StreamId streamId, StreamSequenceToken? sequenceToken)
Get a cursor into the cache to read events from a stream.

Parameters

streamIdStreamId
The stream identifier.
sequenceTokenStreamSequenceToken?
The position from which to begin reading.

Returns

The acquired cache cursor.

Exceptions

Orleans.Streams.QueueCacheMissException
The requested token is older than the messages retained by the cache.