Datasnap.DSSession.TDSSessionManager.TFactoryMethod

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
anonMethod
class
Visibility: public
Source:
Datasnap.DSSession.pas
Datasnap.DSSession.hpp
Unit: Datasnap.DSSession
Parent: TDSSessionManager

Delphi

TFactoryMethod = reference to function: TDSSession;

C++

__interface TFactoryMethod  : public System::IInterface

Description

Function for creating new TDSSession instances in an implementation-specific way.

TFactoryMethod creates a new instance of TDSSession and returns it. The implementation can be anything, and the exact type/subclass of the returned session is up to the implementation.

See Also