Share via


HubPipelineModule.OnBeforeOutgoing Method

.NET Framework 4

This method is called before the outgoing components of any modules added later to the IHubPipeline are executed. If this returns false, then those later-added modules and the client-side hub method invocation(s) will not be executed.

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

Syntax

'Declaration
Protected Overridable Function OnBeforeOutgoing ( _
    context As IHubOutgoingInvokerContext _
) As Boolean
'Usage
Dim context As IHubOutgoingInvokerContext 
Dim returnValue As Boolean 

returnValue = Me.OnBeforeOutgoing(context)
protected virtual bool OnBeforeOutgoing(
    IHubOutgoingInvokerContext context
)
protected:
virtual bool OnBeforeOutgoing(
    IHubOutgoingInvokerContext^ context
)
abstract OnBeforeOutgoing : 
        context:IHubOutgoingInvokerContext -> bool  
override OnBeforeOutgoing : 
        context:IHubOutgoingInvokerContext -> bool
protected function OnBeforeOutgoing(
    context : IHubOutgoingInvokerContext
) : boolean

Parameters

Return Value

Type: System.Boolean
true, if the outgoing components of later added modules and the client-side hub method invocation(s) should be executed; false, otherwise.

See Also

Reference

HubPipelineModule Class

Microsoft.AspNet.SignalR.Hubs Namespace