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);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TTetheringProfiles |
Description
Registers the specified combination of profile type, protocol type, and adapter type, indicating that they can work together.
Units that implement profile classes usually register combinations of profiles, protocols and adapters in their initialization section, right after they register the profiles that those units implement.
Exceptions
A call to RegisterProfileProtocolAdapter can raise any of the following exceptions:
Exception | Exception.Message | Scenarios |
---|---|---|
Profile "<profile type>" is not registered |
|