Share via


ForeverTransport.EnqueueOperation Method

.NET Framework 4This member overrides TransportDisconnectBase.EnqueueOperation(Func<Task>).

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

Syntax

'Declaration
Protected Friend Overrides Function EnqueueOperation ( _
    writeAsync As Func(Of Task) _
) As Task
'Usage
Dim writeAsync As Func(Of Task)
Dim returnValue As Task 

returnValue = Me.EnqueueOperation(writeAsync)
protected internal override Task EnqueueOperation(
    Func<Task> writeAsync
)
protected public:
virtual Task^ EnqueueOperation(
    Func<Task^>^ writeAsync
) override
abstract EnqueueOperation : 
        writeAsync:Func<Task> -> Task  
override EnqueueOperation : 
        writeAsync:Func<Task> -> Task
override function EnqueueOperation(
    writeAsync : Func<Task>
) : Task

Parameters

Return Value

Type: System.Threading.Tasks.Task
Returns Task.

See Also

Reference

ForeverTransport Class

Microsoft.AspNet.SignalR.Transports Namespace