System.Net.Socket.TSocket.TSocketSendAsyncResult.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(const AContext: TObject; const AFunc: TFunc<Integer>;  const AAsyncCallback: TAsyncCallback = nil; AAsyncCallbackEvent: TAsyncCallbackEvent = nil);

C++

__fastcall TSocketSendAsyncResult(System::TObject* const AContext, const System::DelphiInterface<System::Sysutils::TFunc__1<int> > AFunc, 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 TSocketSendAsyncResult

Description



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

System.Net.Socket.TSocket.TSocketSendAsyncResult.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