Soap.InvokeRegistry.TSOAPAttachment.CacheFilePersist

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property CacheFilePersist: Boolean read FCacheFilePersist write FCacheFilePersist default False;

C++

__property bool CacheFilePersist = {read=FCacheFilePersist, write=FCacheFilePersist, default=0};

Properties

Type Visibility Source Unit Parent
property public
Soap.InvokeRegistry.pas
Soap.InvokeRegistry.hpp
Soap.InvokeRegistry TSOAPAttachment

Description

Indicates whether the temporary file that contains the attachment data is deleted when TSOAPAttachment is freed.

When CacheFilePersist is false (the default), the temporary file that the CacheFile property identifies is automatically deleted when the TSOAPAttachment instance is freed. You can save the information from the cache file using the SaveToFile or SaveToStream method before freeing the TSOAPAttachment instance.

When CacheFilePersist is true, the temporary file is not deleted when the TSOAPAttachment instance is freed.

See Also