API:System.Tether.NetworkAdapter.TTetheringNetworkManagerCommunicationThread.Create
Delphi
constructor Create(const AnAdapter: TTetheringAdapter; const AEvent: TEvent); override;
C++
__fastcall virtual TTetheringNetworkManagerCommunicationThread(System::Tether::Manager::TTetheringAdapter* const AnAdapter, System::Syncobjs::TEvent* const AEvent);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| constructor | public | System.Tether.NetworkAdapter.pas System.Tether.NetworkAdapter.hpp |
System.Tether.NetworkAdapter | TTetheringNetworkManagerCommunicationThread |
Description
Creates an instance of TTetheringManagerCommunicationThread.
System.Tether.NetworkAdapter.TTetheringNetworkManagerCommunicationThread.Create inherits from System.Tether.Manager.TTetheringManagerCommunicationThread.Create. All content below this line refers to System.Tether.Manager.TTetheringManagerCommunicationThread.Create.
Creates an instance of TTetheringManagerCommunicationThread.
This constructor receives the following parameters:
AnAdapteris the instance of TTetheringAdapter that owns the new instance of TTetheringManagerCommunicationThread.AEventis a TEvent. You can use this event to wait for the thread to finish its execution.
TTetheringManagerCommunicationThread.Create calls TCommandQueue.Create function.