Click or drag to resize
EventDispatcherStop Method (EventDispatcherStopOption)
Stops generating callbacks for events from sessions.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.24.11.1
Syntax
public void Stop(
	EventDispatcherStopOption stopOption
)

Parameters

stopOption
Type: Bloomberglp.BlpapiEventDispatcherStopOption
Exceptions
ExceptionCondition
ArgumentNullExceptionstopOption 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