IT Hit User File System
Logs error.
Namespace:
ITHit.FileSystem
Assembly:
ITHit.FileSystem (in ITHit.FileSystem.dll) Version: 8.3.27213.0
Syntax void LogError(
string message,
string sourcePath = null,
string targetPath = null,
Exception ex = null,
IOperationContext operationContext = null,
IFileSystemItemMetadata metadata = null,
int callerLineNumber = 0,
string callerMemberName = null,
string callerFilePath = null
)
Sub LogError (
message As String,
Optional sourcePath As String = Nothing,
Optional targetPath As String = Nothing,
Optional ex As Exception = Nothing,
Optional operationContext As IOperationContext = Nothing,
Optional metadata As IFileSystemItemMetadata = Nothing,
Optional callerLineNumber As Integer = 0,
Optional callerMemberName As String = Nothing,
Optional callerFilePath As String = Nothing
)
void LogError(
String^ message,
String^ sourcePath = nullptr,
String^ targetPath = nullptr,
Exception^ ex = nullptr,
IOperationContext^ operationContext = nullptr,
IFileSystemItemMetadata^ metadata = nullptr,
int callerLineNumber = 0,
String^ callerMemberName = nullptr,
String^ callerFilePath = nullptr
)
abstract LogError :
message : string *
?sourcePath : string *
?targetPath : string *
?ex : Exception *
?operationContext : IOperationContext *
?metadata : IFileSystemItemMetadata *
?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 _metadata = defaultArg metadata null
let _callerLineNumber = defaultArg callerLineNumber 0
let _callerMemberName = defaultArg callerMemberName null
let _callerFilePath = defaultArg callerFilePath null
*)
-> unit
Parameters
- message
- Type: SystemString
Error description. - 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 move of rename. - ex (Optional)
- Type: SystemException
Exception. - operationContext (Optional)
- Type: ITHit.FileSystemIOperationContext
Provides information about the environment. - metadata (Optional)
- Type: ITHit.FileSystemIFileSystemItemMetadata
File or folder metadata. - callerLineNumber (Optional)
- Type: SystemInt32
- callerMemberName (Optional)
- Type: SystemString
- callerFilePath (Optional)
- Type: SystemString
See Also