Connection Class

.NET Framework 4.5

No content here will be updated; please do not add material here.

System::Object
  Microsoft.AspNet.SignalR.Infrastructure::Connection

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

public ref class Connection : IConnection, 
	ITransportConnection, ISubscriber

The Connection type exposes the following members.

  NameDescription
Public methodConnectionInitializes a new instance of the Connection class.
Top

  NameDescription
Public propertyDefaultSignalGets the main signal for this connection.
Public propertyIdentityGets an identity property for this connection.
Public propertySubscriptionGets or sets a subscription for this connection property.
Public propertyWriteCursorGets or sets the cursor to write a sequential series of characters.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReceiveReceives a message response to the connection method.
Public methodSendSends a message to one or more connections.
Public methodToString (Inherited from Object.)
Top

  NameDescription
Public eventEventKeyAddedOccurs when the event added a key.
Public eventEventKeyRemovedOccurs when the event removed the key.
Top

  NameDescription
Public Extension MethodBroadcastBroadcasts a value to all connections, excluding the connection IDs specified. (Defined by ConnectionExtensions.)
Public Extension MethodSend(String, Object)Overloaded. Sends a message to all connections subscribed to the specified signal. An example of signal may be a specific connection id. (Defined by ConnectionExtensions.)
Public Extension MethodSend(IList<String>, Object)Overloaded. Sends a message to all connections subscribed to the specified signal. An example of signal may be a specific connection id. (Defined by ConnectionExtensions.)
Top

  NameDescription
Explicit interface implemetationPrivate propertyISubscriber::EventKeysGets a list of objects that can be individually accessed by index.
Top

No content here will be updated; please do not add material here.

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: