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);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
type typedef |
public | Soap.SOAPHTTPTrans.pas Soap.SOAPHTTPTrans.hpp |
Soap.SOAPHTTPTrans | Soap.SOAPHTTPTrans |
説明
THTTPReqResp.OnHttpError のイベント型。 引数:
- HTTPReqResp: イベント ハンドラを呼び出す THTTPReqResp インスタンス
- HTTPResponse: 現在の HTTP レスポンス
- Error: 提案された例外オブジェクト。Action が heaError に設定された際に発生する。
- Action: イベント ハンドラから戻った際に THTTPReqResp が取るアクション。デフォルト値は heaError です。