FileUtilityObservedLoad(FileOperationDelegate, FileName, String, FileErrorPolicy) Method |
Executes a load operation and reports failures according to the specified policy.
Namespace: Altaxo.Main.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static FileOperationResult ObservedLoad(
FileOperationDelegate loadFile,
FileName fileName,
string message,
FileErrorPolicy policy
)
Parameters
- loadFile FileOperationDelegate
- The load operation.
- fileName FileName
- The source file name.
- message String
- The message shown when an error occurs.
- policy FileErrorPolicy
- The error-handling policy.
Return Value
FileOperationResultThe result of the load operation.
See Also