Soap.SOAPHTTPTrans.TSOAPHttpErrorEvent

From RAD Studio API Documentation
Jump to: navigation, search

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);

Properties

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

Description

Event type of THTTPReqResp.OnHttpError. The arguments:

  • HTTPReqResp. THTTPReqResp instance calling the event handler
  • HTTPResponse. Current HTTP response
  • Error. Proposed exception object, which will be raised when Action is set to heaError
  • Action. An action THTTPReqResp should take upon return from the event handler. The default value is heaError

See Also