Share via


HubPipelineModule.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
Public Overridable 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 HubPipelineModule 
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)
public virtual Func<HubDescriptor, IRequest, IList<string>, IList<string>> BuildRejoiningGroups(
    Func<HubDescriptor, IRequest, IList<string>, IList<string>> rejoiningGroups
)
public:
virtual 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>> 
override BuildRejoiningGroups : 
        rejoiningGroups:Func<HubDescriptor, IRequest, IList<string>, IList<string>> -> Func<HubDescriptor, IRequest, IList<string>, IList<string>> 
public 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.

Implements

IHubPipelineModule.BuildRejoiningGroups(Func<HubDescriptor, IRequest, IList<String>, IList<String>>)

See Also

Reference

HubPipelineModule Class

Microsoft.AspNet.SignalR.Hubs Namespace