QueueCacheCursorResult<TCursor>
struct
Namespace: Orleans.Streams
Represents the result of acquiring a queue cache cursor.
public readonly struct QueueCacheCursorResult<TCursor> : IEquatable<QueueCacheCursorResult<TCursor>> where TCursor : classRemarks
A
QueueCacheCursorResultKind result contains a non-null Orleans.Streams.QueueCacheCursorResult.Cursor. All other results contain no cursor. A QueueCacheCursorResultKind result contains Orleans.Streams.QueueCacheCursorResult.CacheMiss details, while other results contain no cache-miss details. Properties
CacheMissGets the cache miss details whenOrleans.Streams.QueueCacheCursorResult.KindisQueueCacheCursorResultKind.CursorGets the acquired cursor whenOrleans.Streams.QueueCacheCursorResult.KindisQueueCacheCursorResultKind.KindGets the result kind.NotSupportedGets a result which indicates that the operation is not supported.
Methods
Equals(QueueCacheCursorResult<TCursor>)Indicates whether the current object is equal to another object of the same type.Equals(object?)Indicates whether this instance and a specified object are equal.FromCacheMiss(QueueCacheMissInfo)Creates a cache miss result.FromCursor(TCursor)Creates a successful result.GetHashCodeReturns the hash code for this instance.operator ==(QueueCacheCursorResult<TCursor>, QueueCacheCursorResult<TCursor>)Determines whether two cursor acquisition results are equal.operator !=(QueueCacheCursorResult<TCursor>, QueueCacheCursorResult<TCursor>)Determines whether two cursor acquisition results are unequal.
