ThreadPoolExecutor.RejectedExecutionHandler 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.
Returns the current handler for unexecutable tasks. -or- Sets a new handler for unexecutable tasks.
public virtual Java.Util.Concurrent.IRejectedExecutionHandler? RejectedExecutionHandler { [Android.Runtime.Register("getRejectedExecutionHandler", "()Ljava/util/concurrent/RejectedExecutionHandler;", "GetGetRejectedExecutionHandlerHandler")] get; [Android.Runtime.Register("setRejectedExecutionHandler", "(Ljava/util/concurrent/RejectedExecutionHandler;)V", "GetSetRejectedExecutionHandler_Ljava_util_concurrent_RejectedExecutionHandler_Handler")] set; }
[<get: Android.Runtime.Register("getRejectedExecutionHandler", "()Ljava/util/concurrent/RejectedExecutionHandler;", "GetGetRejectedExecutionHandlerHandler")>]
[<set: Android.Runtime.Register("setRejectedExecutionHandler", "(Ljava/util/concurrent/RejectedExecutionHandler;)V", "GetSetRejectedExecutionHandler_Ljava_util_concurrent_RejectedExecutionHandler_Handler")>]
member this.RejectedExecutionHandler : Java.Util.Concurrent.IRejectedExecutionHandler with get, set
Property Value
the current handler
- Attributes
Exceptions
if handler is null
Remarks
Property getter documentation:
Returns the current handler for unexecutable tasks.
Java documentation for java.util.concurrent.ThreadPoolExecutor.getRejectedExecutionHandler()
.
Property setter documentation:
Sets a new handler for unexecutable tasks.
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.