Property EndAfterFirstIteration
EndAfterFirstIteration
Set to true to cause End(RunState) to be called after the first iteration. Set to false (the default) to cause the application to continue running until Application.RequestStop () is called.
public static bool EndAfterFirstIteration { get; set; }