Partager via


IConnection Interface

.NET Framework 4

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

Syntax

'Declaration
Public Interface IConnection
'Usage
Dim instance As IConnection
public interface IConnection
public interface class IConnection
type IConnection =  interface end
public interface IConnection

The IConnection type exposes the following members.

Properties

  Name Description
Public property ConnectionId
Public property ConnectionToken
Public property CookieContainer
Public property Credentials
Public property GroupsToken
Public property Items
Public property MessageId
Public property QueryString
Public property State
Public property Url

Top

Methods

  Name Description
Public method ChangeState
Public method Disconnect
Public method OnError
Public method OnReceived
Public method OnReconnected
Public method OnReconnecting
Public method PrepareRequest
Public method Send
Public method Stop

Top

Extension Methods

  Name Description
Public Extension Method EnsureReconnecting (Defined by ConnectionExtensions.)
Public Extension Method GetValue<T> (Defined by ConnectionExtensions.)

Top

See Also

Reference

Microsoft.AspNet.SignalR.Client Namespace