AbstractSessionStart Method |
Issues a blocking call to start the session.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.19.2.1
Syntax Public Function Start As Boolean
public:
virtual bool Start() sealed
abstract Start : unit -> bool
override Start : unit -> bool
Return Value
Type:
Booleantrue if session started successfully,
false otherwise.
Implements
IAbstractSessionStartExceptions Exception | Condition |
---|
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