IStreamGenerator.TryReadEvents 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
TryReadEvents(DateTime, List<IBatchContainer>) |
Tries to get an evente, if the generator is configured to generate any at this time |
TryReadEvents(DateTime, Int32, List<IBatchContainer>) |
Tries to get an event, if the generator is configured to generate any at this time |
TryReadEvents(DateTime, List<IBatchContainer>)
Tries to get an evente, if the generator is configured to generate any at this time
public bool TryReadEvents (DateTime utcNow, out System.Collections.Generic.List<Orleans.Streams.IBatchContainer> events);
abstract member TryReadEvents : DateTime * List -> bool
Public Function TryReadEvents (utcNow As DateTime, ByRef events As List(Of IBatchContainer)) As Boolean
Parameters
- utcNow
- DateTime
- events
- List<IBatchContainer>
Returns
Applies to
TryReadEvents(DateTime, Int32, List<IBatchContainer>)
- Source:
- IStreamGenerator.cs
Tries to get an event, if the generator is configured to generate any at this time
public bool TryReadEvents (DateTime utcNow, int maxCount, out System.Collections.Generic.List<Orleans.Streams.IBatchContainer> events);
abstract member TryReadEvents : DateTime * int * List -> bool
Public Function TryReadEvents (utcNow As DateTime, maxCount As Integer, ByRef events As List(Of IBatchContainer)) As Boolean
Parameters
- utcNow
- DateTime
The current UTC time.
- maxCount
- Int32
The maximum number of events to read.
- events
- List<IBatchContainer>
The events.
Returns
true
if events were read, false
otherwise.