TryGetNextMessageWithResult(object, IBatchContainer?)
public QueueCacheCursorMoveResult TryGetNextMessageWithResult(object cursorObj, out IBatchContainer? message) Attempts 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
A successful result with a non-null
message, QueueCacheCursorMoveResultKind with a null message, or a cache-miss result with a null message. 