Method Configure
Configure(long, TimeSpan)
Defines the time interval and size threshold for starting the task, and then starts the task.
public void Configure(long maximumSize, TimeSpan due)
Parameters
maximumSize
longThe non-negative size threshold of the log file size in byte count.
due
TimeSpanThe time interval between checks.
Remarks
The first run is performed immediately after calling this method.