Click or drag to resize

FileUtilityObservedLoad(FileOperationDelegate, FileName, String, FileErrorPolicy) Method

Executes a load operation and reports failures according to the specified policy.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public 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

FileOperationResult
The result of the load operation.
See Also