EventHubDataComparer.Compare 方法

定义

将缓存的消息与序列标记进行比较,以确定消息是否在令牌之前或之后

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

参数

cachedMessage
CachedEventHubMessage
streamToken
StreamSequenceToken

返回

实现

适用于