API:System.SyncObjs.THandleObject.WaitFor
Delphi
function WaitFor(Timeout: Cardinal): TWaitResult; overload; override;
function WaitFor(Timeout: Cardinal; Alertable: Boolean): TWaitResult; overload;
C++
virtual TWaitResult __fastcall WaitFor(unsigned Timeout)/* overload */;
HIDESBASE TWaitResult __fastcall WaitFor(unsigned Timeout, bool Alertable)/* overload */;
inline TWaitResult __fastcall WaitFor(const System::Timespan::TTimeSpan &Timeout){ return TSynchroObject::WaitFor(Timeout); }
Eigenschaften
| Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
|---|---|---|---|---|
| function | public | System.SyncObjs.pas System.SyncObjs.hpp |
System.SyncObjs | THandleObject |
Beschreibung
Wird nicht verwendet.
System.SyncObjs.THandleObject.WaitFor erbt von System.SyncObjs.TSynchroObject.WaitFor. Der folgende Inhalt bezieht sich auf System.SyncObjs.TSynchroObject.WaitFor.
Wird nicht verwendet.
Die Methode WaitFor wird zur Zeit nicht verwendet. Sie wird immer wrError zurückgeben.