PersistentConnection.OnRejoiningGroups Method

.NET Framework 4.5

Called when a connection reconnects after a timeout to determine which groups should be rejoined.

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

'Declaration
Protected Overridable Function OnRejoiningGroups ( _
	request As IRequest, _
	groups As IList(Of String), _
	connectionId As String _
) As IList(Of String)
'Usage
Dim request As IRequest 
Dim groups As IList(Of String)
Dim connectionId As String 
Dim returnValue As IList(Of String)

returnValue = Me.OnRejoiningGroups(request, _
	groups, connectionId)

Parameters

request
Type: Microsoft.AspNet.SignalR.IRequest
The IRequest for the current connection.
groups
Type: System.Collections.Generic.IList(Of String)
The groups the calling connection claims to be part of.
connectionId
Type: System.String
The ID of the reconnecting client.

Return Value

Type: System.Collections.Generic.IList(Of String)
A collection of group names that should be joined on reconnect.
Show: