DynamicResourceManagerAutoSaveError Event

Occurs when an exception is thrown on auto saving. If this event is not subscribed, the following exception types are automatically suppressed, as they can occur on save: IOException, SecurityException, UnauthorizedAccessException. If such an exception is suppressed some resources might remain unsaved. Though the event is a static one, the sender of the handler is the corresponding DynamicResourceManager instance. Thus the save failures of the non public DynamicResourceManager instances (eg. resource managers of an assembly) can be tracked, too.


Namespace: KGySoft.Resources
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.0.0
public static event EventHandler<AutoSaveErrorEventArgs> AutoSaveError



See Also