EventDispatcherStop Method (EventDispatcherStopOption) |
Stops generating callbacks for events from sessions.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.20.3.1
Syntax public void Stop(
EventDispatcherStopOption stopOption
)
Public Sub Stop (
stopOption As EventDispatcherStopOption
)
public:
void Stop(
EventDispatcherStopOption^ stopOption
)
member Stop :
stopOption : EventDispatcherStopOption -> unit
Parameters
- stopOption
- Type: Bloomberglp.BlpapiEventDispatcherStopOption
Exceptions Exception | Condition |
---|
ArgumentNullException | stopOption is null.
|
ThreadInterruptedException |
The current thread is interrupted while it is waiting.
|
Remarks
If the specified stopOption
is
StopOption.SYNC
then this method blocks until all current callbacks which were dispatched
through this EventDispatcher have completed. If the stopOption is
StopOption.ASYNC
then this method returns immediately and no
further callbacks will be dispatched.
See Also