type

 TScHubAfterDisconnectEvent = procedure (Sender: TObject; E: Exception) of object;

 

property AfterDisconnect: TScHubAfterDisconnectEvent;

 

Description

The AfterDisconnect event occurs after the connection to the SignalR server is closed. The connection could be closed due to an error or due to either the server or client intentionally closing the connection without error.

 

Parameters:

Sender - the object that raised the event;
E - the Exception that describes the cause of the last connection loss. If the event is triggered by a connection error, the Exception will be passed in this argument. If the event is triggered unintentionally by either the client or the server, the argument will be nil.

 

See Also

AfterConnect

 

SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support