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.24.11.1
Syntax public Event TryNextEvent()
Public Function TryNextEvent As Event
public:
virtual Event^ TryNextEvent() sealed
abstract TryNextEvent : unit -> Event
override TryNextEvent : unit -> Event
Return Value
Type:
Event next event available on this session if available or null
if no event is available immediately
Implements
IAbstractSessionTryNextEventExceptions Exception | Condition |
---|
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