Share via

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)


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

returnValue = instance.Add(connectionId, _
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


  • 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


IGroupManager Interface

Microsoft.AspNet.SignalR Namespace