System.Net.Socket.TSocket.TSocketConnectResult.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(const AContext: TObject; const AProc: TProc;  const AAsyncCallback: TAsyncCallback = nil; AAsyncCallbackEvent: TAsyncCallbackEvent = nil);

C++

__fastcall TSocketConnectResult(System::TObject* const AContext, const System::Sysutils::_di_TProc AProc, const System::Classes::_di_TAsyncCallback AAsyncCallback, System::Classes::TAsyncProcedureEvent AAsyncCallbackEvent);

Properties

Type Visibility Source Unit Parent
constructor protected
System.Net.Socket.pas
System.Net.Socket.hpp
System.Net.Socket TSocketConnectResult

Description



Constructs an object and initializes its data before the object is first used.

System.Net.Socket.TSocket.TSocketConnectResult.Create inherits from System.TObject.Create. All content below this line refers to System.TObject.Create.

Constructs an object and initializes its data before the object is first used.

Create constructs an object. The purpose, size, and behavior of objects differ greatly. The Create constructor defined by TObject allocates memory but does not initialize data.

Descendant objects usually define a constructor that creates the particular kind of object and initializes its data.

Note: If an exception escapes from a constructor, the object's destructor is called to clean up the failed instance.

See Also