ConnectionExtensions Class

.NET Framework 4.5

Provides extension methods used to send message to all connections that subscribe to specific signal.

System::Object
  Microsoft.AspNet.SignalR::ConnectionExtensions

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

[ExtensionAttribute]
public ref class ConnectionExtensions abstract sealed

The ConnectionExtensions type exposes the following members.

  NameDescription
Public methodStatic memberBroadcastBroadcasts a value to all connections, excluding the connection IDs specified.
Public methodStatic memberSend(IConnection, IList<String>, Object)Sends a message to all connections subscribed to the specified signal. An example of signal may be a specific connection id.
Public methodStatic memberSend(IConnection, String, Object)Sends a message to all connections subscribed to the specified signal. An example of signal may be a specific connection id.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: