System.Tether.Manager.TTetheringProfiles.RegisterProfileProtocolAdapter
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);
Inhaltsverzeichnis
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
procedure function |
public | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TTetheringProfiles |
Beschreibung
Registriert die angegebene Kombination von Profiltyp, Protokolltyp und Adaptertyp und gibt an, dass sie zusammenarbeiten können.
Units, die Profilklassen implementieren, registrieren normalerweise Kombinationen von Profilen, Protokollen und Adaptern in ihrem initialization-Abschnitt, unmittelbar nachdem sie die Profile registriert haben, die von diesen Units implementiert werden.
Exceptions
Ein Aufruf von RegisterProfileProtocolAdapter könnte eine der folgenden Exceptions auslösen:
Exception | Exception.Message | Szenarien |
---|---|---|
Profil "<Profiltyp>" ist nicht registriert |
|