ScheduledThreadPoolExecutor.ContinueExistingPeriodicTasksAfterShutdownPolicy Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the policy on whether to continue executing existing
periodic tasks even when this executor has been shutdown
. -or- Sets the policy on whether to continue executing existing
periodic tasks even when this executor has been shutdown
.
public virtual bool ContinueExistingPeriodicTasksAfterShutdownPolicy { [Android.Runtime.Register("getContinueExistingPeriodicTasksAfterShutdownPolicy", "()Z", "GetGetContinueExistingPeriodicTasksAfterShutdownPolicyHandler")] get; [Android.Runtime.Register("setContinueExistingPeriodicTasksAfterShutdownPolicy", "(Z)V", "GetSetContinueExistingPeriodicTasksAfterShutdownPolicy_ZHandler")] set; }
[<get: Android.Runtime.Register("getContinueExistingPeriodicTasksAfterShutdownPolicy", "()Z", "GetGetContinueExistingPeriodicTasksAfterShutdownPolicyHandler")>]
[<set: Android.Runtime.Register("setContinueExistingPeriodicTasksAfterShutdownPolicy", "(Z)V", "GetSetContinueExistingPeriodicTasksAfterShutdownPolicy_ZHandler")>]
member this.ContinueExistingPeriodicTasksAfterShutdownPolicy : bool with get, set
Property Value
true
if will continue after shutdown
- Attributes
Remarks
Property getter documentation:
Gets the policy on whether to continue executing existing periodic tasks even when this executor has been shutdown
. In this case, executions will continue until shutdownNow
or the policy is set to false
when already shutdown. This value is by default false
.
Property setter documentation:
Sets the policy on whether to continue executing existing periodic tasks even when this executor has been shutdown
. In this case, executions will continue until shutdownNow
or the policy is set to false
when already shutdown. This value is by default false
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.