IMessageBus.Subscribe Method

Visual Studio 2010
.NET Framework 4

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

function Subscribe(
	subscriber : ISubscriber, 
	cursor : String, 
	callback : Func<MessageResult, Task<boolean>>, 
	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: