EventHubDataComparer.Compare 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
比較快取的訊息與順序權杖,以判斷訊息是否在權杖之前或之後
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