Issues a blocking call to start the session.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public bool Start()
Public Function Start As Boolean
public: bool Start()
Return Value
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.
Exceptions
Exception | Condition |
---|---|
IOException |
An I/O error occurs.
|
Assembly: Bloomberglp.Blpapi (Module: Bloomberglp.Blpapi.dll) Version: 3.7.4.1