System.Tether.AppProfile.TTetheringAppProfile.GetRemoteProfileActions
Delphi
function GetRemoteProfileActions(const AProfile: TTetheringProfileInfo): TList<TRemoteAction>;
C++
System::Generics::Collections::TList__1<TRemoteAction*>* __fastcall GetRemoteProfileActions(const System::Tether::Manager::TTetheringProfileInfo &AProfile);
Propriétés
| Type | Visibilité | Source | Unité | Parent | 
|---|---|---|---|---|
| function | public | System.Tether.AppProfile.pas System.Tether.AppProfile.hpp | System.Tether.AppProfile | TTetheringAppProfile | 
Description
Renvoie une liste d'actions distantes à partir du profil distant spécifié.
Vous devez connecter votre profil à AProfile avant d'appeler GetRemoteProfileActions. Quand vous vous connectez à un profil distant, votre profil récupère tous les éléments (actions et ressources) du profil distant cible. GetRemoteProfileActions renvoie ces éléments récupérés qui sont des actions.
Exceptions
Un appel à GetRemoteProfileActions peut déclencher l'une des exceptions suivantes :
| Exception | Exception.Message | Scénarios | 
|---|---|---|
| Le profil <identificateur de profil> n'est pas connecté. | 
 |