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)
- Source:
- CachedMessage.cs
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