System.Tether.Manager.TTetheringProfiles.RegisterProfileProtocolAdapter

From RAD Studio API Documentation
Jump to: navigation, search

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

ETetheringException

Profile "<profile type>" is not registered

See Also