Share via


IHubConnection.RegisterCallback Method

.NET Framework 4

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

Syntax

'Declaration
Function RegisterCallback ( _
    callback As Action(Of HubResult) _
) As String
'Usage
Dim instance As IHubConnection 
Dim callback As Action(Of HubResult)
Dim returnValue As String 

returnValue = instance.RegisterCallback(callback)
string RegisterCallback(
    Action<HubResult> callback
)
String^ RegisterCallback(
    Action<HubResult^>^ callback
)
abstract RegisterCallback : 
        callback:Action<HubResult> -> string
function RegisterCallback(
    callback : Action<HubResult>
) : String

Parameters

Return Value

Type: System.String
Returns String.

See Also

Reference

IHubConnection Interface

Microsoft.AspNet.SignalR.Client.Hubs Namespace