PersistentConnection.ProcessRequest Method

.NET Framework 4.5

Handles all requests for PersistentConnections.

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

'Declaration
Public Overridable Function ProcessRequest ( _
	context As HostContext _
) As Task
'Usage
Dim instance As PersistentConnection 
Dim context As HostContext 
Dim returnValue As Task 

returnValue = instance.ProcessRequest(context)

Parameters

context
Type: Microsoft.AspNet.SignalR.Hosting.HostContext
The HostContext for the current request.

Return Value

Type: System.Threading.Tasks.Task
A Task that completes when the PersistentConnection pipeline is complete.

ExceptionCondition
InvalidOperationException

Thrown if the connection wasn't initialized. Thrown if the transport wasn't specified. Thrown if the connection ID wasn't specified.

Show: