TryGetNextMessage(object, IBatchContainer?)
[System.Obsolete(Use TryGetNextMessageWithResult instead.)]public bool TryGetNextMessage(object cursorObj, out IBatchContainer? message) Acquires the next message in the cache at the provided cursor
Parameters
cursorObjobjectmessageIBatchContainer?
Returns
true when a message was returned; otherwise, false.Exceptions
System.ArgumentNullExceptioncursorObjisnull.System.ArgumentOutOfRangeExceptioncursorObjis not a cache cursor.Orleans.Streams.QueueCacheMissException- The cursor position is older than the messages retained by the cache.
