PersistentConnection::OnReceived Method
.NET Framework 4.5 Namespace:
Microsoft.AspNet.SignalR
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
A Task that completes when the receive operation is complete.
Called when data is received from a connection.
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
protected: virtual Task^ OnReceived( IRequest^ request, String^ connectionId, String^ data )
Parameters
- request
- Type: Microsoft.AspNet.SignalR::IRequest
The IRequest for the current connection.
- connectionId
- Type: System::String
The ID of the connection sending the data.
- data
- Type: System::String
The payload sent to the connection.
Return Value
Type: System.Threading.Tasks::TaskA Task that completes when the receive operation is complete.
Show: