Udostępnij za pośrednictwem


IPersistentConnectionContext.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
ReadOnly Property Connection As IConnection 
    Get
'Usage
Dim instance As IPersistentConnectionContext 
Dim value As IConnection 

value = instance.Connection
IConnection Connection { get; }
property IConnection^ Connection {
    IConnection^ get ();
}
abstract Connection : IConnection
function get Connection () : IConnection

Property Value

Type: Microsoft.AspNet.SignalR.IConnection

See Also

Reference

IPersistentConnectionContext Interface

Microsoft.AspNet.SignalR Namespace