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.3.64-experimental+d7d4d9bba07b94fd0a19ff78810b8add95447f66
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