FileDebugLogFileOperation Method (String, String, Int32, String, String, String) |
Logs the file operation. Logs the file operation to the file and to current request log for debugging.
Namespace: CMS.IOAssembly: CMS.IO (in CMS.IO.dll) Version: 8.2.23
Syntax public static DataRow LogFileOperation(
string filePath,
string fileOperation,
int size = -1,
string text = null,
string parameters = null,
string providerName = null
)
Parameters
- filePath
- Type: SystemString
Path to the file - fileOperation
- Type: SystemString
Operation with file (open, close, read, write) - size (Optional)
- Type: SystemInt32
Size of the read / write operation in bytes - text (Optional)
- Type: SystemString
Text written to the file - parameters (Optional)
- Type: SystemString
Parameters of the operation (i.e. access mode of open operation) - providerName (Optional)
- Type: SystemString
Provider name
Return Value
Type:
DataRowSee Also