SetErrorHandler() private method

private SetErrorHandler ( ErrorHandler eh ) : void
eh ErrorHandler
return void
Beispiel #1
0
 /// <summary>
 /// Sets the global error handler
 /// </summary>
 /// <remarks>
 /// This method wraps the native ups_set_error_handler function.<br />
 /// <br />
 /// This handler will receive all debug messages that are emitted
 /// by upscaledb. You can install the default handler by setting
 /// eh to null.
 /// </remarks>
 /// <param name="eh">The delegate which is called whenever an
 /// error message is emitted; set to null to set the default
 /// error handler</param>
 static public void SetErrorHandler(ErrorHandler eh)
 {
     NativeMethods.SetErrorHandler(eh);
 }