Gets or sets the amount of free disk space, in bytes, necessary before messages can be written to the log file.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
Use this property to make sure that the log files do not completely fill the disk.
If the amount of free disk space (in bytes) is less than the value of this property, then when the FileLogTraceListener class attempts to write a message to the log, the message is discarded and the failure is either silent or an exception is thrown depending on the value of the DiskSpaceExhaustedBehavior property. Otherwise, the message is written to the log, if the log file size (in bytes) is greater than MaxFileSize.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.