StreamLink for Silverlight
Connect Method
StreamLink for SilverlightCaplin.StreamLinkIStreamLinkProviderConnect()()()
Requests a connection to the server.
Declaration Syntax
C#Visual BasicVisual C++
void Connect()
Sub Connect
void Connect()
Remarks

Before calling Connect() you must first set an ICredentialsProvider in order to supply the server with user authentication information. Set the ICredentialsProvider by setting the CredentialsProvider property of the StreamLink object.

If any error occurs whilst retrieving the authentication information from the ICredentialsProvider then the StreamLink object’s IExceptionHandler is informed, and a CredentialRetrievalFailed event is raised and passed to all registered IConnectionListener objects.

If Connect() is called after a Disconnect()()(), the StreamLink library will reconnect to the Liberator and will re-request any subscriptions that have not been unsubscribed by the application code.

Assembly: Caplin.StreamLink.Silverlight (Module: Caplin.StreamLink.Silverlight) Version: 5.0.19.0 (5.0.19.0)