Edit

Share via


CachedMessageExtensions.Compare(CachedMessage, StreamSequenceToken) Method

Definition

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.

Applies to