IGroupManager.Add Method

.NET Framework 4.5

Adds a connection to the specified group.

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

Syntax

'Declaration
Function Add ( _
    connectionId As String, _
    groupName As String _
) As Task
'Usage
Dim instance As IGroupManager 
Dim connectionId As String 
Dim groupName As String 
Dim returnValue As Task 

returnValue = instance.Add(connectionId, _
    groupName)
Task Add(
    string connectionId,
    string groupName
)
Task^ Add(
    String^ connectionId, 
    String^ groupName
)
abstract Add : 
        connectionId:string * 
        groupName:string -> Task
function Add(
    connectionId : String, 
    groupName : String
) : Task

Parameters

  • connectionId
    Type: System.String
    The connection id to add to the group.

Return Value

Type: System.Threading.Tasks.Task
A task that represents the connection id being added to the group.

See Also

Reference

IGroupManager Interface

Microsoft.AspNet.SignalR Namespace