Share via


HubDispatcher.OnReceived Method

.NET Framework 4

Processes the hub's incoming method calls.

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

Syntax

'Declaration
Protected Overrides 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 override Task OnReceived(
    IRequest request,
    string connectionId,
    string data
)
protected:
virtual Task^ OnReceived(
    IRequest^ request, 
    String^ connectionId, 
    String^ data
) override
abstract OnReceived : 
        request:IRequest * 
        connectionId:string * 
        data:string -> Task  
override OnReceived : 
        request:IRequest * 
        connectionId:string * 
        data:string -> Task
protected override function OnReceived(
    request : IRequest, 
    connectionId : String, 
    data : String
) : Task

Parameters

Return Value

Type: System.Threading.Tasks.Task

See Also

Reference

HubDispatcher Class

Microsoft.AspNet.SignalR.Hubs Namespace