Partager via


HubConnectionContext.AllExcept Method

.NET Framework 4

Returns a dynamic representation of all clients except the calling client ones specified.

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

Syntax

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

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

Parameters

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

Return Value

Type: System.Object
A dynamic representation of all clients except the calling client ones specified.

Implements

IHubConnectionContext.AllExcept(String[])

See Also

Reference

HubConnectionContext Class

Microsoft.AspNet.SignalR.Hubs Namespace