System.Tether.AppProfile.TTetheringAppProfile.GetRemoteActionAsyncState
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 */;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.Tether.AppProfile.pas System.Tether.AppProfile.hpp |
System.Tether.AppProfile | TTetheringAppProfile |
Description
Renvoie l'état en cours du TRemoteAction asynchrone.
La méthode GetRemoteActionAsyncState renvoie l'une des valeurs possibles de l'état :
Valeur | Description |
---|---|
Running |
Le TRemoteAction asynchrone est actuellement en cours d'exécution (son exécution n'est pas encore terminée). |
NotRunning |
Le TRemoteAction asynchrone n'est pas en cours d'exécution (son exécution est déjà terminée). |
NotFound |
Le nom ou le profil de l'action distante asynchrone ne peut pas être trouvé. |
La méthode GetRemoteActionAsyncState est surchargée par un ou plusieurs paramètres :
Paramètre | Signification |
---|---|
|
Le profil distant de l'action distante asynchrone à partir de laquelle l'état doit être récupéré. |
|
Le type de l'action distante asynchrone à partir de laquelle l'état doit être récupéré. |
|
Le TRemoteAction asynchrone à partir duquel l'état doit être récupéré. |
|
Le nom de l'action distante asynchrone à partir de laquelle l'état doit être récupéré. |