Share via


Connection.Protocol Property

.NET Framework 4.5

Gets or sets the protocol for the connection.

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

Syntax

'Declaration
Public Property Protocol As Version 
    Get 
    Set
'Usage
Dim instance As Connection 
Dim value As Version 

value = instance.Protocol

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

Property Value

Type: System.Version
The protocol for the connection.

Implements

IConnection.Protocol

See Also

Reference

Connection Class

Microsoft.AspNet.SignalR.Client Namespace