Export (0) Print
Expand All

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)

abstract OnRejoiningGroups : 
        request:IRequest * 
        groups:IList<string> * 
        connectionId:string -> IList<string> 
override 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:
© 2014 Microsoft