Partager via


IHubOutgoingInvokerContext.Connection Property

.NET Framework 4

The IConnection , if any, corresponding to the client that invoked the server-side hub method that is invoking the client-side hub method.

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

Syntax

'Declaration
ReadOnly Property Connection As IConnection 
    Get
'Usage
Dim instance As IHubOutgoingInvokerContext 
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

IHubOutgoingInvokerContext Interface

Microsoft.AspNet.SignalR.Hubs Namespace