HubPipelineModule::OnBeforeDisconnect Method
.NET Framework 4.5 Namespace:
Microsoft.AspNet.SignalR.Hubs
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
true, if the disconnect components of later added modules and the OnDisconnected() method should be executed; false, otherwise.
This method is called before the disconnect components of any modules added later to the IHubPipeline are executed. If this returns false, then those later-added modules and the OnDisconnected() method will not be run.
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Parameters
- hub
- Type: Microsoft.AspNet.SignalR.Hubs::IHub
The hub the client has disconnected from.
Return Value
Type: System::Booleantrue, if the disconnect components of later added modules and the OnDisconnected() method should be executed; false, otherwise.
Show: