This can be used to connect to a LiveView server in the background, trying until a successful
connection is made, until an exception occurs or until the task is canceled.
Namespace: StreamBase.LiveView.API
Assembly: StreamBase.LiveView.API (in StreamBase.LiveView.API.dll) Version: 10.6.4.2 (10.6.4.2)
Syntax
| C# | Visual Basic | Visual C++ |
public class ConnectionBackgroundWorker : BackgroundWorker
Public Class ConnectionBackgroundWorker _ Inherits BackgroundWorker
public ref class ConnectionBackgroundWorker : public BackgroundWorker
Members
| All Members | Properties | Methods | Events |
| Member | Description | |
|---|---|---|
| CancelAsync()()()() | Requests cancellation of a pending background operation. (Inherited from BackgroundWorker.) | |
| CancellationPending | Gets a value indicating whether the application has requested cancellation of a background operation. (Inherited from BackgroundWorker.) | |
| Connection |
The ILiveViewConnection object used by this background worker to connect to a LiveView server.
| |
| Container | Gets the IContainer that contains the Component. (Inherited from Component.) | |
| CreateObjRef(Type) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| Dispose()()()() | Releases all resources used by the Component. (Inherited from Component.) | |
| Disposed | Occurs when the component is disposed by a call to the Dispose()()()() method. (Inherited from Component.) | |
| DoWork | Occurs when RunWorkerAsync()()()() is called. (Inherited from BackgroundWorker.) | |
| Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLifetimeService()()()() | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| InitializeLifetimeService()()()() | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| IsBusy | Gets a value indicating whether the BackgroundWorker is running an asynchronous operation. (Inherited from BackgroundWorker.) | |
| ProgressChanged | Occurs when ReportProgress(Int32) is called. (Inherited from BackgroundWorker.) | |
| ReportProgress(Int32) | Raises the ProgressChanged event. (Inherited from BackgroundWorker.) | |
| ReportProgress(Int32, Object) | Raises the ProgressChanged event. (Inherited from BackgroundWorker.) | |
| RunWorkerAsync()()()() | Starts execution of a background operation. (Inherited from BackgroundWorker.) | |
| RunWorkerAsync(Object) | Starts execution of a background operation. (Inherited from BackgroundWorker.) | |
| RunWorkerCompleted | Occurs when the background operation has completed, has been canceled, or has raised an exception. (Inherited from BackgroundWorker.) | |
| Site | Gets or sets the ISite of the Component. (Inherited from Component.) | |
| ToString()()()() | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.) | |
| WorkerReportsProgress | Gets or sets a value indicating whether the BackgroundWorker can report progress updates. (Inherited from BackgroundWorker.) | |
| WorkerSupportsCancellation | Gets or sets a value indicating whether the BackgroundWorker supports asynchronous cancellation. (Inherited from BackgroundWorker.) |
Inheritance Hierarchy
System..::..Object
System..::..MarshalByRefObject
System.ComponentModel..::..Component
System.ComponentModel..::..BackgroundWorker
StreamBase.LiveView.API..::..ConnectionBackgroundWorker
System..::..MarshalByRefObject
System.ComponentModel..::..Component
System.ComponentModel..::..BackgroundWorker
StreamBase.LiveView.API..::..ConnectionBackgroundWorker