Share via


Connection.ConnectionId Property

.NET Framework 4

Gets or sets the connection id for the connection.

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

Syntax

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

value = instance.ConnectionId

instance.ConnectionId = value
public string ConnectionId { get; set; }
public:
virtual property String^ ConnectionId {
    String^ get () sealed;
    void set (String^ value) sealed;
}
abstract ConnectionId : string with get, set 
override ConnectionId : string with get, set
final function get ConnectionId () : String 
final function set ConnectionId (value : String)

Property Value

Type: System.String
Returns String.

Implements

IConnection.ConnectionId

See Also

Reference

Connection Class

Microsoft.AspNet.SignalR.Client Namespace