Soap.SOAPHTTPTrans.TSOAPHttpErrorEvent

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

TSOAPHttpErrorEvent = procedure(const HTTPReqResp: THTTPReqResp; const HTTPResponse: IHTTPResponse;
const Error: ESOAPHTTPException; var Action: TSOAPHttpErrorAction) of object;

C++

typedef void __fastcall (__closure *TSOAPHttpErrorEvent)(THTTPReqResp* const HTTPReqResp, const System::Net::Httpclient::_di_IHTTPResponse HTTPResponse, ESOAPHTTPException* const Error, TSOAPHttpErrorAction &Action);

Propriétés

Type Visibilité  Source Unité  Parent
type
typedef
public
Soap.SOAPHTTPTrans.pas
Soap.SOAPHTTPTrans.hpp
Soap.SOAPHTTPTrans Soap.SOAPHTTPTrans


Description

Type d'événement de THTTPReqResp.OnHttpError. Les arguments :

  • HTTPReqResp. Instance de THTTPReqResp appelant le gestionnaire d'événement
  • HTTPResponse. Réponse HTTP en cours
  • Error. Objet exception proposé, qui sera déclenché quand Action est définie sur heaError
  • Action. Action que THTTPReqResp doit effectuer une fois renvoyée par le gestionnaire d'événement. La valeur par défaut est heaError

Voir aussi