FileUtilityObservedSave(FileOperationDelegate, FileName, FileErrorPolicy) Method |
Executes a save operation for a file 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 ObservedSave(
FileOperationDelegate saveFile,
FileName fileName,
FileErrorPolicy policy = FileErrorPolicy.Inform
)
Parameters
- saveFile FileOperationDelegate
- The save operation.
- fileName FileName
- The target file name.
- policy FileErrorPolicy (Optional)
- The error-handling policy.
Return Value
FileOperationResultThe result of the save operation.
See Also