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)

protected function OnRejoiningGroups(
	request : IRequest, 
	groups : IList<String>, 
	connectionId : String
) : IList<String>

Parameters

request
Type: Microsoft.AspNet.SignalR.IRequest
The IRequest for the current connection.
groups
Type: System.Collections.Generic.IList(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(String)
A collection of group names that should be joined on reconnect.
Show: