Partager via


HubConnectionContext.Group Method

.NET Framework 4

Returns a dynamic representation of the specified group.

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

Syntax

'Declaration
Public Function Group ( _
    groupName As String, _
    ParamArray excludeConnectionIds As String() _
) As Object
'Usage
Dim instance As HubConnectionContext 
Dim groupName As String 
Dim excludeConnectionIds As String()
Dim returnValue As Object 

returnValue = instance.Group(groupName, _
    excludeConnectionIds)
public Object Group(
    string groupName,
    params string[] excludeConnectionIds
)
public:
virtual Object^ Group(
    String^ groupName, 
    ... array<String^>^ excludeConnectionIds
) sealed
abstract Group : 
        groupName:string * 
        excludeConnectionIds:string[] -> Object  
override Group : 
        groupName:string * 
        excludeConnectionIds:string[] -> Object
public final function Group(
    groupName : String, 
    ... excludeConnectionIds : String[]
) : Object

Parameters

  • excludeConnectionIds
    Type: System.String[]
    A list of connection ids to exclude.

Return Value

Type: System.Object
A dynamic representation of the specified group.

Implements

IHubConnectionContext.Group(String, String[])

See Also

Reference

HubConnectionContext Class

Microsoft.AspNet.SignalR.Hubs Namespace