System.Tether.Manager.TTetheringManager.Enabled
Delphi
property Enabled: Boolean read FEnabled write SetEnabled default True;
C++
__property bool Enabled = {read=FEnabled, write=SetEnabled, default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TTetheringManager |
Description
Indicates whether the manager is discovering and connecting to remote managers and its registered profiles are communicating with remote profiles (True
) or not (False
).
When you set Enabled to True
, your manager starts discovering remote managers and then discovering remote profiles, and your registered profiles can communicate with any remote profile.
When you set Enabled to False
, any discovery operation or communication between profiles is aborted, and disabled until you set Enabled to True
again.
Exceptions
See TTetheringTCPProtocol.StartCommunication for information about exceptions that might raise when you set Enabled to True
and your manager uses TTetheringTCPProtocol as protocol.