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.26.6.64-experimental+729270cf207a6113e8bbb043419936f745983b67
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