Click or drag to resize

EngineRiseError Method

IT Hit User File System
Rises Error event. Throws an exception if the ThrowExceptions property is set to true.

Namespace:  ITHit.FileSystem
Assembly:  ITHit.FileSystem (in ITHit.FileSystem.dll) Version: 3.3.9602.0
public void RiseError(
	string message,
	string sourcePath = null,
	string targetPath = null,
	Exception ex = null


Type: SystemString
Error message.
sourcePath (Optional)
Type: SystemString
Path in user file system to the file or folder that caused the error.
targetPath (Optional)
Type: SystemString
Path to the target file or folder path in case of copy, move or rename.
ex (Optional)
Type: SystemException
Exception to be passed in Exception property to Error event handler.


IEngineRiseError(String, String, String, Exception)
See Also