System.Win.ScktComp.TCustomWinSocket.OnErrorEvent

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

Delphi

property OnErrorEvent: TSocketErrorEvent read FOnErrorEvent write FOnErrorEvent;

C++

__property TSocketErrorEvent OnErrorEvent = {read=FOnErrorEvent, write=FOnErrorEvent};

プロパティ

種類 可視性 ソース ユニット
event public
System.Win.ScktComp.pas
System.Win.ScktComp.hpp
System.Win.ScktComp TCustomWinSocket

説明

ソケットが接続の確立,使用,またはシャットダウンに失敗したときに発生します。

ソケットコンポーネントは,エラー通知をソケットコンポーネント上のエラーイベントに変換する OnErrorEvent イベントハンドラを提供します。したがって,ほとんどのアプリケーションは,OnErrorEvent のイベントハンドラを提供しません。

関連項目