Click or drag to resize
AbstractSessionStop Method (AbstractSessionStopOption)
Stops the operation of this session.

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

Parameters

stopOption
Type: Bloomberglp.BlpapiAbstractSessionStopOption
Remarks

If the specified stopOption is SYNC, then this call blocks until all events relating to this session which are currently being processed have returned from a application supplied EventHandler objects. Once this call returns no further callbacks to EventHandlers will occur. If a synchronous Stop() is called from within an EventHandler callback, the behavior is undefined and may result in a deadlock.

If the specified stopOption is ASYNC then the stop call returns immediately and events may still be being processed in user specified EventHandler objects.

See Also