Share via


TransportDisconnectBase.EnqueueOperation Method

.NET Framework 4

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

Syntax

'Declaration
Protected Friend Overridable 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 virtual Task EnqueueOperation(
    Func<Task> writeAsync
)
protected public:
virtual Task^ EnqueueOperation(
    Func<Task^>^ writeAsync
)
abstract EnqueueOperation : 
        writeAsync:Func<Task> -> Task  
override EnqueueOperation : 
        writeAsync:Func<Task> -> Task
function EnqueueOperation(
    writeAsync : Func<Task>
) : Task

Parameters

Return Value

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

See Also

Reference

TransportDisconnectBase Class

Microsoft.AspNet.SignalR.Transports Namespace