Data.Cloud.CloudAPI.TCloudService.Create
Delphi
constructor Create(const ConnectionInfo: TCloudConnectionInfo; const Authenticator: TCloudAuthentication);
C++
__fastcall TCloudService(TCloudConnectionInfo* const ConnectionInfo, TCloudAuthentication* const Authenticator);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| constructor | public | Data.Cloud.CloudAPI.pas Data.Cloud.CloudAPI.hpp |
Data.Cloud.CloudAPI | TCloudService |
Description
Creates a new instance of the service class.
Use Create to create a new instance of TCloudService.
Note that the ConnectionInfo is not freed when this instance is destructed, but the Authenticator is.
The following table shows the significance of the parameters:
| Parameter | Description |
|---|---|
|
|
The service account connection/authentication information to use |
|
|
The authentication instance to use for authenticating requests |