Partager via


IHubPipelineModule.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
Function BuildOutgoing ( _
    send As Func(Of IHubOutgoingInvokerContext, Task) _
) As Func(Of IHubOutgoingInvokerContext, Task)
'Usage
Dim instance As IHubPipelineModule 
Dim send As Func(Of IHubOutgoingInvokerContext, Task)
Dim returnValue As Func(Of IHubOutgoingInvokerContext, Task)

returnValue = instance.BuildOutgoing(send)
Func<IHubOutgoingInvokerContext, Task> BuildOutgoing(
    Func<IHubOutgoingInvokerContext, Task> send
)
Func<IHubOutgoingInvokerContext^, Task^>^ BuildOutgoing(
    Func<IHubOutgoingInvokerContext^, Task^>^ send
)
abstract BuildOutgoing : 
        send:Func<IHubOutgoingInvokerContext, Task> -> Func<IHubOutgoingInvokerContext, Task> 
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.

See Also

Reference

IHubPipelineModule Interface

Microsoft.AspNet.SignalR.Hubs Namespace