Edit

Share via


IStreamGenerator.TryReadEvents Method

Definition

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

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.

Applies to