API:Datasnap.DSHTTP.TDSHTTPServiceFileDispatcher.BeforeDispatch
Delphi
property BeforeDispatch: TDispatchFileEvent read FBeforeDispatch write FBeforeDispatch;
C++
__property BeforeDispatch;
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
| event | published | Datasnap.DSHTTP.pas Datasnap.DSHTTP.hpp |
Datasnap.DSHTTP | TDSHTTPServiceFileDispatcher |
Description
Evénement survenant avant la répartition d'un fichier. {{#multireplace:Datasnap.DSHTTP.TDSHTTPServiceFileDispatcher.BeforeDispatch|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} hérite de {{#multireplace:Datasnap.DSHTTP.TDSCustomHTTPServiceFileDispatcher.BeforeDispatch|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. Tout le contenu en-dessous de cette ligne se réfère à {{#multireplace:Datasnap.DSHTTP.TDSCustomHTTPServiceFileDispatcher.BeforeDispatch|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Evénement survenant avant la répartition d'un fichier.
Ecrivez un gestionnaire d'événements BeforeDispatch afin de fournir du code supplémentaire à exécuter avant la répartition d'un fichier.
Notez que TDSHTTPServiceFileDispatcher est utilisée pour publier des propriétés pour TDSCustomHTTPServiceFileDispatcher.