Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IConnection Interface

.NET Framework 4.5

A communication channel for a PersistentConnection and its connections.

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

type IConnection =  interface end

The IConnection type exposes the following members.

  NameDescription
Public propertyDefaultSignalThe main signal for this connection. This is the main signalr for a PersistentConnection .
Top

  NameDescription
Public methodSendSends a message to connections subscribed to the signal.
Top

  NameDescription
Public Extension MethodBroadcastBroadcasts a value to all connections, excluding the connection ids specified. (Defined by ConnectionExtensions.)
Public Extension MethodSendSends a message to all connections subscribed to the specified signal. An example of signal may be a specific connection id, or fully qualified group name (Use IGroupManager to manipulate groups). (Defined by ConnectionExtensions.)
Top
Show:
© 2015 Microsoft