CachedMessageExtensions.CompareStreamId Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CompareStreamId(CachedMessage, StreamId) |
Compares the stream identifier of a cached message. |
CompareStreamId(CachedMessage, IStreamIdentity) |
CompareStreamId(CachedMessage, StreamId)
Compares the stream identifier of a cached message.
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
Parameters
- cachedMessage
- CachedMessage
The cached message.
- streamId
- StreamId
The stream identifier.
Returns
true
if streamId is equal to the StreamId value; otherwise false
.
Applies to
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
Parameters
- cachedMessage
- CachedMessage
- streamIdentity
- IStreamIdentity