Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
Discard log messages.
Throw an exception.
When the DiskSpaceExhaustedBehavior property is set to , the log messages are by default discarded if there is not enough reserved disk space. This prevents simple applications from failing if the disk gets too full.
For a more robust application, set the DiskSpaceExhaustedBehavior property to , and add Try...Catch blocks around all code that writes to the log.
Available since 2.0