HubPipelineModule::OnIncomingError Method

.NET Framework 4.5

This is called when an uncaught exception is thrown by a server-side hub method or the incoming component of a module added later to the IHubPipeline . Observing the exception using this method will not prevent it from bubbling up to other modules.

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

protected:
virtual void OnIncomingError(
	Exception^ ex, 
	IHubIncomingInvokerContext^ context
)

Parameters

ex
Type: System::Exception
The exception that was thrown during the server-side invocation.
context
Type: Microsoft.AspNet.SignalR.Hubs::IHubIncomingInvokerContext
A description of the server-side hub method invocation.
Show: