REST.Client.TCustomRESTClient.SynchronizedEvents

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

property SynchronizedEvents: Boolean read FSynchronizedEvents

C++

__property bool SynchronizedEvents = {read=FSynchronizedEvents, write=SetSynchronizedEvents, default=1};

Propriétés

Type Visibilité  Source Unité  Parent
property public
REST.Client.pas
REST.Client.hpp
REST.Client TCustomRESTClient


Description

Indique si les événements (tels que OnHTTPProtocolError) doivent être exécutés dans le contexte du thread principal (SynchronizedEvents vaut True) ou dans le texte d'un thread arbitraire que vous créez avec TCustomRESTRequest.ExecuteAsync (SynchronizedEvents vaut False).

Voir aussi