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);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | System.Tether.AppProfile.pas System.Tether.AppProfile.hpp |
System.Tether.AppProfile | TTetheringAppProfile |
Description
Returns a list of remote actions from the specified remote profile.
You must connect your profile to AProfile before you call GetRemoteProfileActions. When you connect to a remote profile your profile retrieves all items (actions and resources) from the target remote profile. GetRemoteProfileActions returns those retrieved items that are actions.
Exceptions
A call to GetRemoteProfileActions may raise the following exception:
| Exception | Exception.Message | Scenarios |
|---|---|---|
|
Profile <profile identifier> is not connected. |
|