Datasnap.Win.SConnect.TDataBlockInterpreter.Create
Delphi
constructor Create(SendDataBlock: ISendDataBlock; CheckRegValue: string);
C++
__fastcall TDataBlockInterpreter(_di_ISendDataBlock SendDataBlock, System::UnicodeString CheckRegValue);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Datasnap.Win.SConnect.pas Datasnap.Win.SConnect.hpp |
Datasnap.Win.SConnect | TDataBlockInterpreter |
Description
Creates and initializes an instance of TDataBlockInterpreter.
Applications should not need to instantiate data block interpreters. Typically, they are instantiated by the streamed connection components that use them to marshal data. To access a streamed connection component's data block interpreter instance, use its Interpreter property.
Create takes two arguments:
- An ISendDataBlock interface that the data block interpreter can use to send information in a data block to its destination object (usually the remote data module of an application server).
- A string that specifies a registry key value which must appear for application servers that can be accessed using the data block interpreter.