Click or drag to resize
AbstractSessionTryNextEvent Method
Tries to retrieve the next event available for processing on this session

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.22.0.1
Syntax
public Event TryNextEvent()

Return Value

Type: Event
next event available on this session if available or null if no event is available immediately

Implements

IAbstractSessionTryNextEvent
Exceptions
ExceptionCondition
InvalidOperationException An event handler was specified at construction.
Remarks
This method never blocks. Note that this function cannot be called on a Session that is operating in "asynchronous" mode. That is a Session that was constructed with an EventHandler.
See Also