HubPipelineModule::OnBeforeIncoming Method
.NET Framework 4.5 Namespace:
Microsoft.AspNet.SignalR.Hubs
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
true, if the incoming components of later added modules and the server-side hub method invocation should be executed; false, otherwise.
This method is called before the incoming components of any modules added later to the IHubPipeline are executed. If this returns false, then those later-added modules and the server-side hub method invocation will not be executed. Even if a client has not been authorized to connect to a hub, it will still be authorized to invoke server-side methods on that hub unless it is prevented in BuildIncoming(Func<IHubIncomingInvokerContext, Task<Object>>) by not executing the invoke parameter or prevented in OnBeforeIncoming(IHubIncomingInvokerContext) by returning false.
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Parameters
- context
- Type: Microsoft.AspNet.SignalR.Hubs::IHubIncomingInvokerContext
A description of the server-side hub method invocation.
Return Value
Type: System::Booleantrue, if the incoming components of later added modules and the server-side hub method invocation should be executed; false, otherwise.
Show: