Collapse All Expand All | Language Filter: C#Language Filter: Visual Basic Language Filter: Visual C++ C# Visual Basic Visual C++ | See Also
StreamBase Client API
LiveViewConnectionFactory..::GetBackgroundConnection Method

Creates an instance of a ConnectionBackgroundWorker, which can be used to connect to a LiveView server asynchronously while being notified of progress. Connection can be initiated with a call to RunWorkerAsync()()()()().

Namespace: StreamBase.LiveView.API
Assembly: StreamBase.LiveView.API (in StreamBase.LiveView.API.dll) Version: 10.3.0.4 (10.3.0.4)

# Syntax

| C# |  |  | Visual Basic |  |  | Visual C++ |

    public static ConnectionBackgroundWorker GetBackgroundConnection(
    	ConnectionConfig cfg
    )

    Public Shared Function GetBackgroundConnection ( _
    	cfg As ConnectionConfig _
    ) As ConnectionBackgroundWorker

    public:
    static ConnectionBackgroundWorker^ GetBackgroundConnection(
    	ConnectionConfig^ cfg
    )

#### Parameters

cfg
  ConnectionConfig
  The configuration parameters to which to connect.

#### Return Value

The background worker object with which to connect.

# See Also

LiveViewConnectionFactory Class
StreamBase.LiveView.API Namespace