Click or drag to resize
IAbstractSessionNextEvent Method
Overload List
  NameDescription
Public methodNextEvent
This is the same as NextEvent(Int64) with 0 milliseconds.
Public methodNextEvent(Int64)
Returns the next event available for processing on this session.

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 the timeout specified 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.

An EventHandler must not have been provided at construction.
Top
See Also