ObservableConnection<T> Class

.NET Framework 4.5

Represents the data connection that provides client connection for SignalR services.

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.SignalR.Client.ObservableConnection<T>

Namespace:  Microsoft.AspNet.SignalR.Client
Assembly:  Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)

Syntax

'Declaration
Public Class ObservableConnection(Of T) _
    Implements IObservable(Of T)
'Usage
Dim instance As ObservableConnection(Of T)
public class ObservableConnection<T> : IObservable<T>
generic<typename T>
public ref class ObservableConnection : IObservable<T>
type ObservableConnection<'T> =  
    class 
        interface IObservable<'T>
    end
JScript does not support generic types and methods.

Type Parameters

  • T
    The type of elements in the connection.

The ObservableConnection<T> type exposes the following members.

Constructors

  Name Description
Public method ObservableConnection<T> Initializes a new instance of the ObservableConnection<T> class.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Subscribe Subscribes to an observable connection for the SignalR services.
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.AspNet.SignalR.Client Namespace