System.Tether.Manager.TTetheringManagerCommunicationThread.AddProfiles

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

procedure AddProfiles(const AConnectionString, AData: string);

C++

void __fastcall AddProfiles(const System::UnicodeString AConnectionString, const System::UnicodeString AData);

プロパティ

種類 可視性 ソース ユニット
procedure
function
protected
System.Tether.Manager.pas
System.Tether.Manager.hpp
System.Tether.Manager TTetheringManagerCommunicationThread


説明

通信スレッドのアダプタからのプロファイル検知リクエストに応答して、リモート アダプタが送信したリモート プロファイルについてのデータが格納された、文字列を処理します。


AddProfiles文字列 AData を受信し、これには、リモート プロファイルのシリアライズされたリストが格納されています。

NotifyEndProfileDiscovery に対して定義されているイベント ハンドラがある場合、AddProfiles は、TTetheringProfileInfoList のインスタンスを作成し、そのリストを AData 内の情報で埋め、NotifyEndProfileDiscovery イベントを起こして逆シリアライズされたプロファイル データをイベント ハンドラに渡します。

関連項目