Edit

Share via


EventHubDataComparer.Compare Method

Definition

Compare a cached message with a sequence token to determine if it message is before or after the token

public int Compare (Orleans.ServiceBus.Providers.CachedEventHubMessage cachedMessage, Orleans.Streams.StreamSequenceToken streamToken);
abstract member Compare : Orleans.ServiceBus.Providers.CachedEventHubMessage * Orleans.Streams.StreamSequenceToken -> int
override this.Compare : Orleans.ServiceBus.Providers.CachedEventHubMessage * Orleans.Streams.StreamSequenceToken -> int
Public Function Compare (cachedMessage As CachedEventHubMessage, streamToken As StreamSequenceToken) As Integer

Parameters

cachedMessage
CachedEventHubMessage
streamToken
StreamSequenceToken

Returns

Implements

Applies to