Bloomberg API for .NET
TryNextEvent Method
NamespacesBloomberglp.BlpapiAbstractSessionTryNextEvent()()()()
Tries to retrieve the next event available for processing on this session
Declaration Syntax
C#Visual BasicVisual 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
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
ExceptionCondition
InvalidOperationException An event handler was specified at construction.

Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.8.10.1