System.Tether.Manager.TTetheringProfiles.RegisterProfile
Delphi
class procedure RegisterProfile(const AProfile: TTetheringProfileClass; const AType: TTetheringProfileType);
C++
__classmethod void __fastcall RegisterProfile(const TTetheringProfileClass AProfile, const System::UnicodeString AType);
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 profile class with the specified profile type as identifier.
Exceptions
A call to RegisterProfile may raise any of the following exceptions:
Exception | Exception.Message | Scenarios |
---|---|---|
Profile "<profile type>" is already registered |
|