Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
.NET Framework 4
Namespace:  Microsoft.AspNet.SignalR.Client
Assembly:  Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
Syntax
'Declaration
Public Function Subscribe ( _
    observer As IObserver(Of T) _
) As IDisposable
'Usage
Dim instance As ObservableConnection 
Dim observer As IObserver(Of T)
Dim returnValue As IDisposable 
returnValue = instance.Subscribe(observer)
public IDisposable Subscribe(
    IObserver<T> observer
)
public:
virtual IDisposable^ Subscribe(
    IObserver<T>^ observer
) sealed
abstract Subscribe : 
        observer:IObserver<'T> -> IDisposable  
override Subscribe : 
        observer:IObserver<'T> -> IDisposable
public final function Subscribe(
    observer : IObserver<T>
) : IDisposable
Parameters
- observer
 Type: System.IObserver<T>
Return Value
Type: System.IDisposable
Returns IDisposable.
Implements
IObservable<T>.Subscribe(IObserver<T>)