Tries to retrieve the next event available for processing
on this session
Declaration Syntax
C# | Visual Basic | Visual C++ |
public Event TryNextEvent()
Public Function TryNextEvent As Event
public: Event^ TryNextEvent()
Return Value
Event
next event available on this session if available or null if no event is available immediately
next event available on this session if available or null if no event is available immediately
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.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException |
An event handler was specified at construction.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.7.4.1