BeforeReceiveAttachment Event
Marks the start of receiving an attachment.
Syntax
class SOAPClientBeforeReceiveAttachmentEventParams { public: int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void BeforeReceiveAttachment(SOAPClientBeforeReceiveAttachmentEventParams *e);
// Or, subclass SOAPClient and override this emitter function. virtual int FireBeforeReceiveAttachment(SOAPClientBeforeReceiveAttachmentEventParams *e) {...}
Remarks
This event fires for every new attachment being received from the service.
Tune up OutputAttachmentBytes, OutputAttachmentFile or OutputAttachmentStream properties inside the event handler to indicate where the attachment content should be saved.