CachedMessageExtensions.Compare(CachedMessage, StreamSequenceToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares the specified cached message.
public static int Compare (this ref Orleans.Providers.Streams.Common.CachedMessage cachedMessage, Orleans.Streams.StreamSequenceToken token);
static member Compare : CachedMessage * Orleans.Streams.StreamSequenceToken -> int
<Extension()>
Public Function Compare (ByRef cachedMessage As CachedMessage, token As StreamSequenceToken) As Integer
Parameters
- cachedMessage
- CachedMessage
The cached message.
- token
- StreamSequenceToken
The token.
Returns
A value indicating the relative order of the token to the cached message.