Soap.Rio.TRIO.OnGetAttachment
Delphi
property OnGetAttachment: TOnGetAttachmentEvent read FOnGetAttachment write FOnGetAttachment;
C++
__property Soap::Soapattachintf::TOnGetAttachmentEvent OnGetAttachment = {read=FOnGetAttachment, write=FOnGetAttachment};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Soap.Rio.pas Soap.Rio.hpp |
Soap.Rio | TRIO |
Description
Occurs when TRIO reads each attachment included in the results from executing a method of the invokable interface.
Write an OnGetAttachment event handler to examine the encoded attachments included in the results from executing a method call or to redirect them so that they are saved to a specific file. OnGetAttachment occurs once for each attachment received in the results from a call to the Execute method of the interface that the WebNode property specifies. All OnGetAttachment events occur before the OnAfterExecute event.