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