XErrorPath Property

An XPath to check the server response for errors.

Syntax

ANSI (Cross Platform)
char* GetXErrorPath();
int SetXErrorPath(const char* lpszXErrorPath); Unicode (Windows) LPWSTR GetXErrorPath();
INT SetXErrorPath(LPCWSTR lpszXErrorPath);
@property (nonatomic,readwrite,assign,getter=XErrorPath,setter=setXErrorPath:) NSString* XErrorPath;
- (NSString*)XErrorPath;
- (void)setXErrorPath:(NSString*)newXErrorPath;
#define PID_JSON_XERRORPATH 13

IPWORKSIOT_EXTERNAL void* IPWORKSIOT_CALL IPWorksIoT_JSON_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSIOT_EXTERNAL int IPWORKSIOT_CALL IPWorksIoT_JSON_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

This property contains an XPath to check the server response for errors. If the XPath exists, an exception will be thrown containing the value of the element at the path.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 C++ Edition - Version 20.0 [Build 8265]