Click or drag to resize

Engine.RiseError 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: 9.0.27334.0-Beta
Syntax
public void RiseError(
	string message,
	string sourcePath = null,
	string targetPath = null,
	Exception ex = null,
	IOperationContext operationContext = null,
	int callerLineNumber = 0,
	string callerMemberName = null,
	string callerFilePath = null
)

Parameters

message
Type: System.String
Error message.
sourcePath (Optional)
Type: System.String
Path in user file system to the file or folder that caused the error.
targetPath (Optional)
Type: System.String
Path to the target file or folder path in case of copy, move or rename.
ex (Optional)
Type: System.Exception
Exception to be passed in Exception property to Error event handler.
operationContext (Optional)
Type: ITHit.FileSystem.IOperationContext
callerLineNumber (Optional)
Type: System.Int32
callerMemberName (Optional)
Type: System.String
callerFilePath (Optional)
Type: System.String

Implements

IEngine.RiseError(String, String, String, Exception, IOperationContext, Int32, String, String)
See Also