Share via


IHubPipelineInvoker.RejoiningGroups Method

.NET Framework 4

This method determines which of the groups belonging to the hub described by the HubDescriptor the client should be allowed to rejoin. By default, clients that are reconnecting to the server will be removed from all groups they may have previously been a member of, because untrusted clients may claim to be a member of groups they were never authorized to join.

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

Syntax

'Declaration
Function RejoiningGroups ( _
    hubDescriptor As HubDescriptor, _
    request As IRequest, _
    groups As IList(Of String) _
) As IList(Of String)
'Usage
Dim instance As IHubPipelineInvoker 
Dim hubDescriptor As HubDescriptor 
Dim request As IRequest 
Dim groups As IList(Of String)
Dim returnValue As IList(Of String)

returnValue = instance.RejoiningGroups(hubDescriptor, _
    request, groups)
IList<string> RejoiningGroups(
    HubDescriptor hubDescriptor,
    IRequest request,
    IList<string> groups
)
IList<String^>^ RejoiningGroups(
    HubDescriptor^ hubDescriptor, 
    IRequest^ request, 
    IList<String^>^ groups
)
abstract RejoiningGroups : 
        hubDescriptor:HubDescriptor * 
        request:IRequest * 
        groups:IList<string> -> IList<string> 
function RejoiningGroups(
    hubDescriptor : HubDescriptor, 
    request : IRequest, 
    groups : IList<String>
) : IList<String>

Parameters

Return Value

Type: System.Collections.Generic.IList<String>
A list of groups the client is allowed to rejoin.

See Also

Reference

IHubPipelineInvoker Interface

Microsoft.AspNet.SignalR.Hubs Namespace