Share via


GroupManager.Send Method

.NET Framework 4

Sends a value to the specified group.

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

Syntax

'Declaration
Public Function Send ( _
    groupName As String, _
    value As Object, _
    ParamArray excludeConnectionIds As String() _
) As Task
'Usage
Dim instance As GroupManager 
Dim groupName As String 
Dim value As Object 
Dim excludeConnectionIds As String()
Dim returnValue As Task 

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

Parameters

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

Return Value

Type: System.Threading.Tasks.Task
A task that represents when send is complete.

Implements

IConnectionGroupManager.Send(String, Object, String[])

See Also

Reference

GroupManager Class

Microsoft.AspNet.SignalR Namespace