Click or drag to resize
BizFormFileServiceDeleteTempFile Method
Deletes temporary file previously saved via the SaveUploadedFileAsTempFile(HttpPostedFileBase, String, String, Int32, Int32, Int32) method which was not promoted to a permanent file.

Namespace: CMS.OnlineForms
Assembly: CMS.OnlineForms (in CMS.OnlineForms.dll) Version: 12.0.0
Syntax
C#
public void DeleteTempFile(
	string tempFileIdentifier,
	string tempFilesFolderPath
)

Parameters

tempFileIdentifier
Type: SystemString
Identifier of the temporary file to derive file name from.
tempFilesFolderPath
Type: SystemString
Folder path where temporary files are being saved.

Implements

IBizFormFileServiceDeleteTempFile(String, String)
Exceptions
ExceptionCondition
ArgumentExceptionThrown when tempFileIdentifier or tempFilesFolderPath is null or an empty string.
See Also