Table of Contents

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

callbackName string
exception Exception
isFatal bool

Properties

CallbackName

The name of the callback that threw, for example Filter or OnFlushCompleted.

public string CallbackName { get; }

Property Value

string

Exception

The exception that escaped the callback.

public Exception Exception { get; }

Property Value

Exception

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; }

Property Value

bool