Export (0) Print
Expand All

IMessageBus.Subscribe Method

.NET Framework 4
.NET Framework 4

Namespace:  Microsoft.AspNet.SignalR.Messaging
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

abstract Subscribe : 
        subscriber:ISubscriber * 
        cursor:string * 
        callback:Func<MessageResult, Task<bool>> * 
        maxMessages:int -> IDisposable

Parameters

subscriber
Type: Microsoft.AspNet.SignalR.Messaging.ISubscriber
cursor
Type: System.String
callback
Type: System.Func(MessageResult, Task(Boolean))
maxMessages
Type: System.Int32

Return Value

Type: System.IDisposable
Returns IDisposable.
Show:
© 2014 Microsoft