Click or drag to resize
SessionNextEvent Method (Int64)
Returns the next event available for processing on this session.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.26.3.64-experimental+d7d4d9bba07b94fd0a19ff78810b8add95447f66
Syntax
public override Event NextEvent(
	long timeoutMillis
)

Parameters

timeoutMillis
Type: SystemInt64
Timeout in milliseconds to wait before this method returns event if no events were available.

Return Value

Type: Event
The next event available on this session if available before timeout or TIMEOUT event if timeout occurs.

Implements

IAbstractSessionNextEvent(Int64)
IAbstractSessionNextEvent(Int64)
Exceptions
ExceptionCondition
ThreadInterruptedException The current thread is interrupted while it is waiting for an event.
InvalidOperationException An event handler was specified at construction.
Remarks
If no event is available immediately wait for timeoutMillis milliseconds for an event to arrive. If no event is received before the timeout expires return a TIMEOUT event. If timeoutMillis is 0 then wait for an infinite amount of time for an event to be received. 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