REST.Backend.ParseApi.TParseApi.DoRetrieveInstallation
Delphi
function DoRetrieveInstallation(const AObjectID: string; const AJSON: TJSONArray; AProc: TRetrieveJSONProc; AReset: Boolean): Boolean; overload;
C++
bool __fastcall DoRetrieveInstallation(const System::UnicodeString AObjectID, System::Json::TJSONArray* const AJSON, _di_TRetrieveJSONProc AProc, bool AReset)/* overload */;
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
| function | protected | REST.Backend.ParseApi.pas REST.Backend.ParseApi.hpp |
REST.Backend.ParseApi | TParseApi |
Description
Récupère un objet d'installation. Renvoie False si l'objet d'installation n'est pas trouvé.
La méthode DoRetrieveInstallation accepte les paramètres suivants :
AObjectID: une chaîne représentant un ID d'objet.AJSON: facultatif. Un objet TJSONArray auquel DoRetrieveInstallation ajoute la réponse. La valeur par défaut estnil.AProc: facultatif. Une procédure callback qui reçoit la réponse. La réponse est un TJSONObject.AReset: spécifie si cette méthode réinitialise la requête et ajoute les paramètres d'authentification avant de récupérer l'objet installation.
RetrieveInstallation appelle DoRetrieveInstallation.
Exceptions
Un appel à DoRetrieveInstallation peut déclencher l'exception suivante :
| Exception | Exception.Message | Scénarios |
|---|---|---|
|
ObjectID requis |
|
Voir aussi
- REST.Backend.ParseApi.TParseApi.RetrieveInstallation
- REST.Backend.ParseApi.TParseApi.CreateAndroidInstallationObject
- REST.Backend.ParseApi.TParseApi.CreateIOSInstallationObject
- REST.Backend.ParseApi.TParseApi.UploadInstallation
- REST.Backend.ParseApi.TParseApi.DeleteInstallation
- REST.Backend.ParseApi.TParseApi.QueryInstallation