ScheduledThreadPoolExecutor.ExecuteExistingDelayedTasksAfterShutdownPolicy 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 execute existing delayed
tasks even when this executor has been shutdown
. -or- Sets the policy on whether to execute existing delayed
tasks even when this executor has been shutdown
.
public virtual bool ExecuteExistingDelayedTasksAfterShutdownPolicy { [Android.Runtime.Register("getExecuteExistingDelayedTasksAfterShutdownPolicy", "()Z", "GetGetExecuteExistingDelayedTasksAfterShutdownPolicyHandler")] get; [Android.Runtime.Register("setExecuteExistingDelayedTasksAfterShutdownPolicy", "(Z)V", "GetSetExecuteExistingDelayedTasksAfterShutdownPolicy_ZHandler")] set; }
[<get: Android.Runtime.Register("getExecuteExistingDelayedTasksAfterShutdownPolicy", "()Z", "GetGetExecuteExistingDelayedTasksAfterShutdownPolicyHandler")>]
[<set: Android.Runtime.Register("setExecuteExistingDelayedTasksAfterShutdownPolicy", "(Z)V", "GetSetExecuteExistingDelayedTasksAfterShutdownPolicy_ZHandler")>]
member this.ExecuteExistingDelayedTasksAfterShutdownPolicy : bool with get, set
Property Value
true
if will execute after shutdown
- Attributes
Remarks
Property getter documentation:
Gets the policy on whether to execute existing delayed tasks even when this executor has been shutdown
. In this case, these tasks will only terminate upon shutdownNow
, or after setting the policy to false
when already shutdown. This value is by default true
.
Property setter documentation:
Sets the policy on whether to execute existing delayed tasks even when this executor has been shutdown
. In this case, these tasks will only terminate upon shutdownNow
, or after setting the policy to false
when already shutdown. This value is by default true
.
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.