TryGetNextMessage(object, IBatchContainer?)
abstract
[System.Obsolete(Use TryGetNextMessageWithResult instead.)]public abstract bool TryGetNextMessage(object cursorObj, out IBatchContainer? message) Try to get the next message in the cache for the provided cursor.
Parameters
cursorObjobject- The cache cursor.
messageIBatchContainer?- The next message when one is available.
Returns
true when a message was returned; otherwise, false.Exceptions
Orleans.Streams.QueueCacheMissException- The cursor position is older than the messages retained by the cache.
