Creates a new instance of a ILiveViewConnection.

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public static ILiveViewConnection GetConnection(
	string uri
)
Public Shared Function GetConnection ( _
	uri As String _
) As ILiveViewConnection
public:
static ILiveViewConnection^ GetConnection(
	String^ uri
)

Parameters

uri
String
The URI to which to connect.

Return Value

The new connection.

Exceptions

ExceptionCondition
StreamBase.LiveView.API..::..LiveViewURIExceptionIf the URI is malformed.
StreamBase.LiveView.API..::..LiveViewExceptionIf the connection could not be created or a network connection error occurred.

See Also