Class CallbackExceptionEventArgs
- Namespace
- RocksDbNet
- Assembly
- RocksDb.Net.dll
Describes an exception that escaped a managed callback invoked by native RocksDb code.
public sealed class CallbackExceptionEventArgs : EventArgs
- Inheritance
-
CallbackExceptionEventArgs
- Inherited Members
Constructors
CallbackExceptionEventArgs(string, Exception, bool)
Describes an exception that escaped a managed callback invoked by native RocksDb code.
public CallbackExceptionEventArgs(string callbackName, Exception exception, bool isFatal)
Parameters
Properties
CallbackName
The name of the callback that threw, for example Filter or OnFlushCompleted.
public string CallbackName { get; }
Property Value
Exception
The exception that escaped the callback.
public Exception Exception { get; }
Property Value
IsFatal
true when the callback has no way to report failure to RocksDb, so
continuing would risk silently corrupting the database. The process is
terminated after the event handlers run.
public bool IsFatal { get; }