Freigeben über


PersistentConnection.Connection Property

.NET Framework 4

Gets the IConnection for the PersistentConnection .

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

Syntax

'Declaration
Public Property Connection As IConnection 
    Get 
    Private Set
'Usage
Dim instance As PersistentConnection 
Dim value As IConnection 

value = instance.Connection
public IConnection Connection { get; private set; }
public:
property IConnection^ Connection {
    IConnection^ get ();
    private: void set (IConnection^ value);
}
member Connection : IConnection with get, private set
function get Connection () : IConnection 
private function set Connection (value : IConnection)

Property Value

Type: Microsoft.AspNet.SignalR.IConnection
Returns IConnection.

See Also

Reference

PersistentConnection Class

Microsoft.AspNet.SignalR Namespace