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);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Tether.AppProfile.pas System.Tether.AppProfile.hpp |
System.Tether.AppProfile | TTetheringAppProfile |
説明
リモート アクションのリストを、指定されたリモート プロファイルから返します。
GetRemoteProfileActions を呼び出す前に、プロファイルを AProfile
に接続しなければなりません。リモート プロファイルに接続すると、プロファイルは、ターゲット リモート プロファイルからすべての項目(アクションやリソース)を受け取ります。GetRemoteProfileActions は、それら受け取った項目のうち、アクションであるものを返します。
例外
GetRemoteProfileActions への呼び出しは、次の例外を発生させる可能性があります:
Exception | Exception.Message | シナリオ |
---|---|---|
プロファイル <プロファイル識別子> が接続されていません。 |
|