Share via


IHubPipelineModule.BuildRejoiningGroups Method

.NET Framework 4

Wraps a function that 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 BuildRejoiningGroups ( _
    rejoiningGroups As Func(Of HubDescriptor, IRequest, IList(Of String), IList(Of String)) _
) As Func(Of HubDescriptor, IRequest, IList(Of String), IList(Of String))
'Usage
Dim instance As IHubPipelineModule 
Dim rejoiningGroups As Func(Of HubDescriptor, IRequest, IList(Of String), IList(Of String))
Dim returnValue As Func(Of HubDescriptor, IRequest, IList(Of String), IList(Of String))

returnValue = instance.BuildRejoiningGroups(rejoiningGroups)
Func<HubDescriptor, IRequest, IList<string>, IList<string>> BuildRejoiningGroups(
    Func<HubDescriptor, IRequest, IList<string>, IList<string>> rejoiningGroups
)
Func<HubDescriptor^, IRequest^, IList<String^>^, IList<String^>^>^ BuildRejoiningGroups(
    Func<HubDescriptor^, IRequest^, IList<String^>^, IList<String^>^>^ rejoiningGroups
)
abstract BuildRejoiningGroups : 
        rejoiningGroups:Func<HubDescriptor, IRequest, IList<string>, IList<string>> -> Func<HubDescriptor, IRequest, IList<string>, IList<string>> 
function BuildRejoiningGroups(
    rejoiningGroups : Func<HubDescriptor, IRequest, IList<String>, IList<String>>
) : Func<HubDescriptor, IRequest, IList<String>, IList<String>>

Parameters

Return Value

Type: System.Func<HubDescriptor, IRequest, IList<String>, IList<String>>
A wrapped function that determines which groups the client should be allowed to rejoin.

See Also

Reference

IHubPipelineModule Interface

Microsoft.AspNet.SignalR.Hubs Namespace