Share via


HubPipelineModule.BuildOutgoing Method

.NET Framework 4

Wraps a function that invokes a client-side hub method.

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

Syntax

'Declaration
Public Overridable Function BuildOutgoing ( _
    send As Func(Of IHubOutgoingInvokerContext, Task) _
) As Func(Of IHubOutgoingInvokerContext, Task)
'Usage
Dim instance As HubPipelineModule 
Dim send As Func(Of IHubOutgoingInvokerContext, Task)
Dim returnValue As Func(Of IHubOutgoingInvokerContext, Task)

returnValue = instance.BuildOutgoing(send)
public virtual Func<IHubOutgoingInvokerContext, Task> BuildOutgoing(
    Func<IHubOutgoingInvokerContext, Task> send
)
public:
virtual Func<IHubOutgoingInvokerContext^, Task^>^ BuildOutgoing(
    Func<IHubOutgoingInvokerContext^, Task^>^ send
)
abstract BuildOutgoing : 
        send:Func<IHubOutgoingInvokerContext, Task> -> Func<IHubOutgoingInvokerContext, Task> 
override BuildOutgoing : 
        send:Func<IHubOutgoingInvokerContext, Task> -> Func<IHubOutgoingInvokerContext, Task> 
public function BuildOutgoing(
    send : Func<IHubOutgoingInvokerContext, Task>
) : Func<IHubOutgoingInvokerContext, Task>

Parameters

Return Value

Type: System.Func<IHubOutgoingInvokerContext, Task>
A wrapped function that invokes a client-side hub method.

Implements

IHubPipelineModule.BuildOutgoing(Func<IHubOutgoingInvokerContext, Task>)

See Also

Reference

HubPipelineModule Class

Microsoft.AspNet.SignalR.Hubs Namespace