Share via


HubCallerContext.ConnectionId Property

.NET Framework 4

Gets the connection ID of the calling client.

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

Syntax

'Declaration
Public Property ConnectionId As String 
    Get 
    Private Set
'Usage
Dim instance As HubCallerContext 
Dim value As String 

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

Property Value

Type: System.String
The connection ID of the calling client.

See Also

Reference

HubCallerContext Class

Microsoft.AspNet.SignalR.Hubs Namespace