System.Win.ScktComp.TCustomWinSocket.OnErrorEvent

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

property OnErrorEvent: TSocketErrorEvent read FOnErrorEvent write FOnErrorEvent;

C++

__property TSocketErrorEvent OnErrorEvent = {read=FOnErrorEvent, write=FOnErrorEvent};

Propriétés

Type Visibilité  Source Unité  Parent
event public
System.Win.ScktComp.pas
System.Win.ScktComp.hpp
System.Win.ScktComp TCustomWinSocket

Description

Se produit quand le socket échoue dans l'établissement, l'utilisation ou l'arrêt d'une connexion.

Les composants socket fournissent un gestionnaire d'événement OnErrorEvent qui convertit les notifications d'erreur en événements erreur dans le composant socket. La plupart des applications ne fourniront pas par conséquent de gestionnaire d'événement pour OnErrorEvent.

Voir aussi