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 (e.g. resource managers of an assembly) can be tracked, too.

Definition

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

Value

EventHandlerAutoSaveErrorEventArgs

See Also