| ProviderSessionTryNextEvent 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.25.11.64-experimental+d519cd77c15f00eb425bcde0dbe3273921f5910b
Syntaxpublic override Event TryNextEvent()
Public Overrides Function TryNextEvent As Event
public:
virtual Event^ TryNextEvent() override
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
IAbstractSessionTryNextEventIAbstractSessionTryNextEvent
Exceptions| 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