Udostępnij za pośrednictwem


IConnectionGroupManager.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
Function Send ( _
    groupName As String, _
    value As Object, _
    ParamArray excludeConnectionIds As String() _
) As Task
'Usage
Dim instance As IConnectionGroupManager 
Dim groupName As String 
Dim value As Object 
Dim excludeConnectionIds As String()
Dim returnValue As Task 

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

Parameters

Return Value

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

See Also

Reference

IConnectionGroupManager Interface

Microsoft.AspNet.SignalR Namespace