System.Net.Socket.TSocket.TSocketReceiveAsyncResult.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

__fastcall TSocketReceiveAsyncResult(System::TObject* const AContext, const System::DelphiInterface<System::Sysutils::TFunc__1<System::DynamicArray<System::Byte> > > ABytesFunc, 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 TSocketReceiveAsyncResult

Description


Creates an instance of TBaseAsyncResult.

System.Net.Socket.TSocket.TSocketReceiveAsyncResult.Create inherits from System.Classes.TBaseAsyncResult.Create. All content below this line refers to System.Classes.TBaseAsyncResult.Create.

Creates an instance of TBaseAsyncResult.

You may optionally provide an object of any type that provides context information. Use Context to access that object.

See Also