Soap.SOAPHTTPTrans.TSOAPHttpErrorEvent
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);
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
type typedef |
public | Soap.SOAPHTTPTrans.pas Soap.SOAPHTTPTrans.hpp |
Soap.SOAPHTTPTrans | Soap.SOAPHTTPTrans |
Beschreibung
Ereignistyp von THTTPReqResp.OnHttpError. Die Argumente sind:
- HTTPReqResp: THTTPReqResp-Instanz, die die Ereignisbehandlungsroutine aufruft.
- HTTPResponse: Aktuelle HTTP-Antwort.
- Error: Vorgeschlagenes Exception-Objekt, das ausgelöst wird, wenn "Action" auf "heaError" festgelegt wird.
- Action: Eine Aktion, die THTTPReqResp nach Rückkehr aus der Ereignisbehandlungsroutine ausführen soll. Der Standardwert ist "heaError".