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

Namespace: CMS.Base.Routing
Assembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax
C#
public abstract class CMSFileResult : CMSActionResult, 
	ICMSEntityTagActionResult

The CMSFileResult type exposes the following members.

Constructors
  NameDescription
Protected methodCMSFileResult
Creates a new CMSFileResult instance.
Protected methodCMSFileResult(CMSFileResult)
Creates a new CMSFileResult 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.
Public propertyContentType
Gets or sets the Content-Type header for the response.
Public propertyEnableRangeProcessing
Gets or sets the value that enables range processing for the CMSFileResult.
Public propertyEntityTag
Gets or sets the ETag associated with the CMSFileResult.
Public propertyExpires
Sets the Expires HTTP header to an absolute date and time.
(Inherited from CMSActionResult.)
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.
Public propertyLogExceptions
Logs the exceptions caused by the process.
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