MessageBus::Subscribe Method

.NET Framework 4.5

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

public:
virtual 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.

Implements

IMessageBus::Subscribe(ISubscriber, String, Func<MessageResult, Task<Boolean>>, Int32)
Show: