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.
Namespace: KGySoft.ResourcesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.5.0
public static event EventHandler<AutoSaveErrorEventArgs> AutoSaveError
Public Shared Event AutoSaveError As EventHandler(Of AutoSaveErrorEventArgs)
public:
static event EventHandler<AutoSaveErrorEventArgs^>^ AutoSaveError {
void add (EventHandler<AutoSaveErrorEventArgs^>^ value);
void remove (EventHandler<AutoSaveErrorEventArgs^>^ value);
}
member AutoSaveError : IEvent<EventHandler<AutoSaveErrorEventArgs>,
AutoSaveErrorEventArgs>
Value
EventHandlerAutoSaveErrorEventArgs