PersistentResponse.Disconnect Property
.NET Framework 4
Gets or sets a value that indicates whether the connection receives a disconnect command.
Namespace: Microsoft.AspNet.SignalR.Transports
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Public Property Disconnect As Boolean
Get
Set
'Usage
Dim instance As PersistentResponse
Dim value As Boolean
value = instance.Disconnect
instance.Disconnect = value
public bool Disconnect { get; set; }
public:
property bool Disconnect {
bool get ();
void set (bool value);
}
member Disconnect : bool with get, set
function get Disconnect () : boolean
function set Disconnect (value : boolean)
Property Value
Type: System.Boolean
true if the connection receives a disconnect command; otherwise, false.