.NET Framework 4
Called when data is received from a connection.
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
'Declaration Protected Overridable Function OnReceived ( _ request As IRequest, _ connectionId As String, _ data As String _ ) As Task 'Usage Dim request As IRequest Dim connectionId As String Dim data As String Dim returnValue As Task returnValue = Me.OnReceived(request, _ connectionId, data)
protected virtual Task OnReceived( IRequest request, string connectionId, string data )
protected: virtual Task^ OnReceived( IRequest^ request, String^ connectionId, String^ data )
abstract OnReceived : request:IRequest * connectionId:string * data:string -> Task override OnReceived : request:IRequest * connectionId:string * data:string -> Task
protected function OnReceived( request : IRequest, connectionId : String, data : String ) : Task
The ID of the connection sending the data.
The payload sent to the connection.