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)

IDisposable^ Subscribe(
	ISubscriber^ subscriber, 
	String^ cursor, 
	Func<MessageResult, Task<bool>^>^ callback, 
	int maxMessages
)

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: