Hubservable.Subscribe Method
.NET Framework 4
Namespace: Microsoft.AspNet.SignalR.Client.Hubs
Assembly: Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
Syntax
'Declaration
Public Function Subscribe ( _
observer As IObserver(Of IList(Of JToken)) _
) As IDisposable
'Usage
Dim instance As Hubservable
Dim observer As IObserver(Of IList(Of JToken))
Dim returnValue As IDisposable
returnValue = instance.Subscribe(observer)
public IDisposable Subscribe(
IObserver<IList<JToken>> observer
)
public:
virtual IDisposable^ Subscribe(
IObserver<IList<JToken^>^>^ observer
) sealed
abstract Subscribe :
observer:IObserver<IList<JToken>> -> IDisposable
override Subscribe :
observer:IObserver<IList<JToken>> -> IDisposable
public final function Subscribe(
observer : IObserver<IList<JToken>>
) : IDisposable
Parameters
- observer
Type: System.IObserver<IList<JToken>>
Return Value
Type: System.IDisposable
Returns IDisposable.
Implements
IObservable<T>.Subscribe(IObserver<T>)