Connection::Receive Method (String, Func<PersistentResponse, Task<Boolean>>, Int32)

.NET Framework 4.5

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

public:
virtual IDisposable^ Receive(
	String^ messageId, 
	Func<PersistentResponse^, Task<bool>^>^ callback, 
	int maxMessages
) sealed

Parameters

messageId
Type: System::String
callback
Type: System::Func<PersistentResponse, Task<Boolean>>
maxMessages
Type: System::Int32

Return Value

Type: System::IDisposable
Returns IDisposable.

Implements

ITransportConnection::Receive(String, Func<PersistentResponse, Task<Boolean>>, Int32)
Show: