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)

Syntax

'Declaration
Protected Overridable Sub OnIncomingError ( _
    exceptionContext As ExceptionContext, _
    invokerContext As IHubIncomingInvokerContext _
)
'Usage
Dim exceptionContext As ExceptionContext 
Dim invokerContext As IHubIncomingInvokerContext 

Me.OnIncomingError(exceptionContext, _
    invokerContext)
protected virtual void OnIncomingError(
    ExceptionContext exceptionContext,
    IHubIncomingInvokerContext invokerContext
)
protected:
virtual void OnIncomingError(
    ExceptionContext^ exceptionContext, 
    IHubIncomingInvokerContext^ invokerContext
)
abstract OnIncomingError : 
        exceptionContext:ExceptionContext * 
        invokerContext:IHubIncomingInvokerContext -> unit  
override OnIncomingError : 
        exceptionContext:ExceptionContext * 
        invokerContext:IHubIncomingInvokerContext -> unit
protected function OnIncomingError(
    exceptionContext : ExceptionContext, 
    invokerContext : IHubIncomingInvokerContext
)

Parameters

See Also

Reference

HubPipelineModule Class

Microsoft.AspNet.SignalR.Hubs Namespace