AbstractSessionStartAsync Method |
Initiates a non blocking call to start the session.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.20.3.1
Syntax public:
virtual void StartAsync() sealed
abstract StartAsync : unit -> unit
override StartAsync : unit -> unit
Implements
IAbstractSessionStartAsyncExceptions Exception | Condition |
---|
IOException |
An I/O error occurs.
|
InvalidOperationException |
If the session is in an invalid state
|
Remarks
Initiates a non blocking call to start the session and returns immediately.
On completion of this request a
Event.EventType.SESSION_STATUS
event is 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 will
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