Bloomberg API for .NET
Stop Method (stopOption)
NamespacesBloomberglp.BlpapiAbstractSessionStop(AbstractSession..::..StopOption)
Stops the operation of this session.
Declaration Syntax
C#Visual BasicVisual C++
public void Stop(
	AbstractSession..::..StopOption stopOption
)
Public Sub Stop ( 
	stopOption As AbstractSession..::..StopOption
)
public:
void Stop(
	AbstractSession..::..StopOption stopOption
)
Parameters
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

Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.9.6.1