Click or drag to resize
AbstractSessionStart Method
Issues a blocking call to start the session.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.23.1.1
Syntax
public bool Start()

Return Value

Type: Boolean
true if session started successfully, false otherwise.

Implements

IAbstractSessionStart
Exceptions
ExceptionCondition
IOException An I/O error occurs.
Remarks
Issues a blocking call to start the session. This call returns true if the Session was started successfully or falseotherwise. Also a Event.EventType.SESSION_STATUS event may be published containing a message with the result of the request. If the Session was started successfully a "SessionStarted" message will be generated. If the start failed a "SessionStartupFailure" message may be generated.

Note: If this is an asynchronous Session then the Event.EventType.SESSION_STATUS may be processed by the registered EventHandler before this method has returned. If this Session is using an external EventDispatcher it should be already started.

A Session may only be started once.

See Also