Click or drag to resize
CMSFileContentResult Class
Represents an CMSActionResult that when executed will write a binary file to the response.
Inheritance Hierarchy
SystemObject
  CMS.Base.RoutingCMSActionResult
    CMS.Base.RoutingCMSFileResult
      CMS.Base.RoutingCMSFileContentResult

Namespace: CMS.Base.Routing
Assembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax
C#
public class CMSFileContentResult : CMSFileResult

The CMSFileContentResult type exposes the following members.

Constructors
  NameDescription
Public methodCMSFileContentResult
Creates a new CMSFileContentResult instance.
Public methodCMSFileContentResult(CMSFileResult)
Creates a new CMSFileContentResult instance with base properties values copied from fileResult.
Top
Properties
  NameDescription
Public propertyCacheability
Sets the cacheability part of Cache-Control HTTP header value.
(Inherited from CMSActionResult.)
Public propertyCacheRevalidation
Sets the revalidation part of Cache-Control HTTP header value.
(Inherited from CMSActionResult.)
Public propertyContentDisposition
Gets or sets the Content-Disposition header for the response.
(Inherited from CMSFileResult.)
Public propertyContentType
Gets or sets the Content-Type header for the response.
(Inherited from CMSFileResult.)
Public propertyEnableRangeProcessing
Gets or sets the value that enables range processing for the CMSFileResult.
(Inherited from CMSFileResult.)
Public propertyEntityTag
Gets or sets the ETag associated with the CMSFileResult.
(Inherited from CMSFileResult.)
Public propertyExpires
Sets the Expires HTTP header to an absolute date and time.
(Inherited from CMSActionResult.)
Public propertyFileContents
Gets or sets the file contents.
Public propertyLastModified
Sets the Last-Modified HTTP header to the specified date and time.
(Inherited from CMSActionResult.)
Public propertyLogCommunicationExceptions
Whether to log exception caused by communication problems (e.g. when remote host closes the connection). Log exceptions has to be set to TRUE.
(Inherited from CMSFileResult.)
Public propertyLogExceptions
Logs the exceptions caused by the process.
(Inherited from CMSFileResult.)
Public propertyNoStore
Sets the Cache-Control: no-store HTTP header.
(Inherited from CMSActionResult.)
Top
Methods
  NameDescription
Public methodSetNoCacheCacheability
Sets No-Cache cache-ability.
(Inherited from CMSActionResult.)
Public methodSetPublicCacheability
Sets the public cache-ability.
(Inherited from CMSActionResult.)
Public methodSetRevalidation
Sets the revalidation of the client caches.
(Inherited from CMSActionResult.)
Public methodSetTimeStamps
Sets the last modified and expires header to the response
(Inherited from CMSActionResult.)
Top
See Also