System.Tether.AppProfile.TTetheringAppProfile.GetRemoteActionAsyncState

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function GetRemoteActionAsyncState(const AProfile: TTetheringProfileInfo; ARemoteActionHandle: TRemoteActionHandle): TRemoteActionState; overload;
function GetRemoteActionAsyncState(const AnAction: TRemoteAction): TRemoteActionState; overload;
function GetRemoteActionAsyncState(const AProfile: TTetheringProfileInfo; const AnActionName: string): TRemoteActionState; overload;

C++

TRemoteActionState __fastcall GetRemoteActionAsyncState(const System::Tether::Manager::TTetheringProfileInfo &AProfile, NativeUInt ARemoteActionHandle)/* overload */;
TRemoteActionState __fastcall GetRemoteActionAsyncState(TRemoteAction* const AnAction)/* overload */;
TRemoteActionState __fastcall GetRemoteActionAsyncState(const System::Tether::Manager::TTetheringProfileInfo &AProfile, const System::UnicodeString AnActionName)/* overload */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
System.Tether.AppProfile.pas
System.Tether.AppProfile.hpp
System.Tether.AppProfile TTetheringAppProfile


Beschreibung

Gibt den aktuellen Status einer asynchronen TRemoteAction zurück.

Die Methode GetRemoteActionAsyncState gibt einen der möglichen State-Werte zurück:

Wert Beschreibung

Running

Die asynchrone TRemoteAction wird aktuell ausgeführt (die Ausführung ist noch nicht abgeschlossen).

NotRunning

Die asynchrone TRemoteAction wird nicht ausgeführt (die Ausführung ist bereits abgeschlossen).

NotFound

Der Name oder das Profil der asynchronen Remote-Aktion wurde nicht gefunden.

Die Methode GetRemoteActionAsyncState wird durch einen oder mehrere der folgenden Parameter überladen:

Parameter Bedeutung

AProfile

Das Remote-Profil der asynchronen Remote-Aktion, deren Status abgerufen werden soll.

ARemoteActionHandle

Der Typ der asynchronen Remote-Aktion, deren Status abgerufen werden soll.

AnAction

Die asynchrone TRemoteAction, deren Status abgerufen werden soll.

AnActionName

Der Name der asynchronen Remote-Aktion, deren Status abgerufen werden soll.

Siehe auch