System.Tether.Manager.TTetheringProfiles.RegisterProfileProtocolAdapter

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

Delphi

class procedure RegisterProfileProtocolAdapter(const AProfileType: TTetheringProfileType;  const AProtocol: TTetheringProtocolType; const AnAdapter: TTetheringAdapterType);

C++

__classmethod void __fastcall RegisterProfileProtocolAdapter(const System::UnicodeString AProfileType, const System::UnicodeString AProtocol, const System::UnicodeString AnAdapter);

プロパティ

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


説明

指定されたプロファイル タイププロトコル タイプアダプタ タイプを登録し、それらが一緒に動作することを示します。

プロファイル クラスを実装するユニットは、通常、それらユニットが実装するプロファイルを登録したすぐ後に、initialization セクション で、プロファイル、プロトコル、アダプタの組み合わせを登録します。

例外

RegisterProfileProtocolAdapter への呼び出しは、次の例外のいずれかを発生させます:

Exception Exception.Message シナリオ

ETetheringException

プロファイル "<プロファイル タイプ>" は登録されていません

関連項目