Share via


PersistentConnection.GetSignals Method

.NET Framework 4.5

Returns the signals used in the PersistentConnection.

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

Syntax

'Declaration
Protected Overridable Function GetSignals ( _
    userId As String, _
    connectionId As String _
) As IList(Of String)
'Usage
Dim userId As String 
Dim connectionId As String 
Dim returnValue As IList(Of String)

returnValue = Me.GetSignals(userId, _
    connectionId)
protected virtual IList<string> GetSignals(
    string userId,
    string connectionId
)
protected:
virtual IList<String^>^ GetSignals(
    String^ userId, 
    String^ connectionId
)
abstract GetSignals : 
        userId:string * 
        connectionId:string -> IList<string> 
override GetSignals : 
        userId:string * 
        connectionId:string -> IList<string> 
protected function GetSignals(
    userId : String, 
    connectionId : String
) : IList<String>

Parameters

  • userId
    Type: System.String
    The user id for the current connection.
  • connectionId
    Type: System.String
    The id of the incoming connection.

Return Value

Type: System.Collections.Generic.IList<String>
The signals used for this PersistentConnection.

See Also

Reference

PersistentConnection Class

Microsoft.AspNet.SignalR Namespace