System.Tether.AppProfile.TTetheringAppProfile.GetRemoteProfileResources

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function GetRemoteProfileResources(const AProfile: TTetheringProfileInfo): TList<TRemoteResource>;

C++

System::Generics::Collections::TList__1<TRemoteResource*>* __fastcall GetRemoteProfileResources(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 de ressources distantes à partir du profil distant spécifié.

Vous devez connecter votre profil à AProfile avant d'appeler GetRemoteProfileResources. Quand vous vous connectez à un profil distant, votre profil récupère tous les éléments (actions et ressources) du profil distant cible. GetRemoteProfileResources renvoie ces éléments récupérés qui sont des ressources.

Exceptions

Un appel à GetRemoteProfileResources peut déclencher l'une des exceptions suivantes :

Exception Exception.Message Scénarios

ETetheringException

Le profil <identificateur de profil> n'est pas connecté.

  • AProfile n'est pas connecté.

Voir aussi