CachedMessageExtensions.CompareStreamId 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
CompareStreamId(CachedMessage, StreamId) |
比較快取訊息的資料流程識別碼。 |
CompareStreamId(CachedMessage, IStreamIdentity) |
CompareStreamId(CachedMessage, StreamId)
比較快取訊息的資料流程識別碼。
public static bool CompareStreamId (this ref Orleans.Providers.Streams.Common.CachedMessage cachedMessage, Orleans.Runtime.StreamId streamId);
static member CompareStreamId : CachedMessage * Orleans.Runtime.StreamId -> bool
<Extension()>
Public Function CompareStreamId (ByRef cachedMessage As CachedMessage, streamId As StreamId) As Boolean
參數
- cachedMessage
- CachedMessage
快取的訊息。
- streamId
- StreamId
資料流識別碼。
傳回
true
如果 streamId 等於值,則為 StreamId ,否則 false
為 。
適用於
CompareStreamId(CachedMessage, IStreamIdentity)
public static bool CompareStreamId (this ref Orleans.Providers.Streams.Common.CachedMessage cachedMessage, Orleans.Streams.IStreamIdentity streamIdentity);
static member CompareStreamId : CachedMessage * Orleans.Streams.IStreamIdentity -> bool
<Extension()>
Public Function CompareStreamId (ByRef cachedMessage As CachedMessage, streamIdentity As IStreamIdentity) As Boolean
參數
- cachedMessage
- CachedMessage
- streamIdentity
- IStreamIdentity