FileUtilityObservedLoad(NamedFileOperationDelegate, FileName, String, FileErrorPolicy) Method |
Executes a load operation that accepts a file name 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(
NamedFileOperationDelegate saveFileAs,
FileName fileName,
string message,
FileErrorPolicy policy = FileErrorPolicy.Inform
)
Parameters
- saveFileAs NamedFileOperationDelegate
- The load operation.
- fileName FileName
- The source file name.
- message String
- The message shown when an error occurs.
- policy FileErrorPolicy (Optional)
- The error-handling policy.
Return Value
FileOperationResultThe result of the load operation.
See Also