CEMRejectionReason Property

If Accepted is False this property specifies the reason a request was rejected.

Syntax

ANSI (Cross Platform)
char* GetCEMRejectionReason(int iCEMIndex);
int SetCEMRejectionReason(int iCEMIndex, const char* lpszCEMRejectionReason); Unicode (Windows) LPWSTR GetCEMRejectionReason(INT iCEMIndex);
INT SetCEMRejectionReason(INT iCEMIndex, LPCWSTR lpszCEMRejectionReason);
- (NSString*)CEMRejectionReason:(int)cEMIndex;
- (void)setCEMRejectionReason:(int)cEMIndex:(NSString*)newCEMRejectionReason;
#define PID_AS2SENDER_CEMREJECTIONREASON 21

IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_AS2Sender_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_AS2Sender_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_AS2Sender_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

If CEMAccepted is False this property specifies the reason a request was rejected.

When using AS2Sender this may be set to a string value which the recipient will see.

When using AS2Receiver query this property for details on why the request was rejected.

The CEMIndex parameter specifies the index of the item in the array. The size of the array is controlled by the CEMCount property.

This property is not available at design time.

Data Type

String

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