CachedMessageBlock<TCachedMessage>.GetSequenceToken<TQueueMessage> 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得所提供索引之快取訊息的時序標記
public Orleans.Streams.StreamSequenceToken GetSequenceToken<TQueueMessage> (int index, Orleans.Providers.Streams.Common.ICacheDataAdapter<TQueueMessage,TCachedMessage> dataAdapter);
member this.GetSequenceToken : int * Orleans.Providers.Streams.Common.ICacheDataAdapter<'QueueMessage, 'CachedMessage (requires 'CachedMessage : struct)> -> Orleans.Streams.StreamSequenceToken
Public Function GetSequenceToken(Of TQueueMessage) (index As Integer, dataAdapter As ICacheDataAdapter(Of TQueueMessage, TCachedMessage)) As StreamSequenceToken
類型參數
- TQueueMessage
參數
- index
- Int32
- dataAdapter
- ICacheDataAdapter<TQueueMessage,TCachedMessage>