System.Net.HttpClientComponent.TRequestErrorEvent

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

TRequestErrorEvent = procedure(const Sender: TObject; const AError: string) of object;

C++

typedef void __fastcall (__closure *TRequestErrorEvent)(System::TObject* const Sender, const System::UnicodeString AError);

プロパティ

種類 可視性 ソース ユニット
type
typedef
public
System.Net.HTTPClientComponent.pas
System.Net.HTTPClientComponent.hpp
System.Net.HttpClientComponent System.Net.HttpClientComponent


説明

TRequestErrorEvent は、リクエストの例外イベントのシグニチャです。

これを正しく利用するには、次に気を付けてください:

  • Sender はコンポーネント TNetHTTPClient または TNetHTTPRequest で、Event を呼び出します。
  • AError は、リクエストによって生成される例外です。