EngineMacRiseError Method |
IT Hit User File System
Namespace:
ITHit.FileSystem.Mac
Assembly:
ITHit.FileSystem.Mac (in ITHit.FileSystem.Mac.dll) Version: 1.0.8837.18647
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
)
Public Sub RiseError (
message As String,
Optional sourcePath As String = Nothing,
Optional targetPath As String = Nothing,
Optional ex As Exception = Nothing,
Optional operationContext As IOperationContext = Nothing,
Optional callerLineNumber As Integer = 0,
Optional callerMemberName As String = Nothing,
Optional callerFilePath As String = Nothing
)
public:
virtual void RiseError(
String^ message,
String^ sourcePath = nullptr,
String^ targetPath = nullptr,
Exception^ ex = nullptr,
IOperationContext^ operationContext = nullptr,
int callerLineNumber = 0,
String^ callerMemberName = nullptr,
String^ callerFilePath = nullptr
) sealed
abstract RiseError :
message : string *
?sourcePath : string *
?targetPath : string *
?ex : Exception *
?operationContext : IOperationContext *
?callerLineNumber : int *
?callerMemberName : string *
?callerFilePath : string
(* Defaults:
let _sourcePath = defaultArg sourcePath null
let _targetPath = defaultArg targetPath null
let _ex = defaultArg ex null
let _operationContext = defaultArg operationContext null
let _callerLineNumber = defaultArg callerLineNumber 0
let _callerMemberName = defaultArg callerMemberName null
let _callerFilePath = defaultArg callerFilePath null
*)
-> unit
override RiseError :
message : string *
?sourcePath : string *
?targetPath : string *
?ex : Exception *
?operationContext : IOperationContext *
?callerLineNumber : int *
?callerMemberName : string *
?callerFilePath : string
(* Defaults:
let _sourcePath = defaultArg sourcePath null
let _targetPath = defaultArg targetPath null
let _ex = defaultArg ex null
let _operationContext = defaultArg operationContext null
let _callerLineNumber = defaultArg callerLineNumber 0
let _callerMemberName = defaultArg callerMemberName null
let _callerFilePath = defaultArg callerFilePath null
*)
-> unit
Parameters
- message
- 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. - operationContext (Optional)
- Type: ITHit.FileSystemIOperationContext
- callerLineNumber (Optional)
- Type: SystemInt32
- callerMemberName (Optional)
- Type: SystemString
- callerFilePath (Optional)
- Type: SystemString
Implements
IEngineRiseError(String, String, String, Exception, IOperationContext, Int32, String, String)See Also