Method DoBeforeFlush DoBeforeFlush() A hook for extending classes to execute operations before pending added and deleted documents are flushed to the Directory. Declaration protected virtual void DoBeforeFlush()