System.Tether.AppProfile.TTetheringAppProfile.UnSubscribeFromRemoteItem
Delphi
function UnSubscribeFromRemoteItem(const AProfile: TTetheringProfileInfo; const ARemoteItem: TCustomRemoteItem): Boolean; overload;
function UnSubscribeFromRemoteItem(const AProfile: TTetheringProfileInfo; const ARemoteItemName: string): Boolean; overload;
C++
bool __fastcall UnSubscribeFromRemoteItem(const System::Tether::Manager::TTetheringProfileInfo &AProfile, TCustomRemoteItem* const ARemoteItem)/* overload */;
bool __fastcall UnSubscribeFromRemoteItem(const System::Tether::Manager::TTetheringProfileInfo &AProfile, const System::UnicodeString ARemoteItemName)/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Tether.AppProfile.pas System.Tether.AppProfile.hpp |
System.Tether.AppProfile | TTetheringAppProfile |
説明
前に更新を目的としてサブスクライブした指定のリモート プロファイルの指定のリモート リソースを、このアプリケーション プロファイルでサブスクライブしないようにします。
どのリモート リソースをサブスクライブしないようにするかは、次のどちらかのパラメータ セットで指定することができます。
- 目的のリモート リソースが含まれているリモート アプリケーション プロファイルを TTetheringProfileInfo のインスタンスとして指定するほか、そのリモート リソースの名前も指定します。
- 目的のリモート リソースが含まれているリモート アプリケーション プロファイルを TTetheringProfileInfo のインスタンスとして指定するほか、TCustomRemoteItem のインスタンスも指定します。
例外
UnSubscribeFromRemoteItem への呼び出しは、次の例外のいずれかを発生させます:
Exception | Exception.Message | シナリオ |
---|---|---|
プロファイル <プロファイル識別子> は接続されていません。 |
| |
<プロファイル識別子> への接続がありません。 |
| |
プロファイル <プロファイル識別子>への接続を取得することができません。 |
| |
プロファイル <プロファイル識別子> へ接続できません。 |
|