Bloomberg API for .NET
StartAsync Method
NamespacesBloomberglp.BlpapiAbstractSessionStartAsync()()()()
Initiates a non blocking call to start the session.
Declaration Syntax
C#Visual BasicVisual C++
public void StartAsync()
Public Sub StartAsync
public:
void StartAsync()
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.

Exceptions
ExceptionCondition
IOException An I/O error occurs.
InvalidOperationException If the session is in an invalid state

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