ThreadPoolExecutor.RejectedExecutionHandler 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳目前無法執行任務的處理器。 -或- 為不可執行任務設定新的處理器。
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
屬性值
現任的操控者
- 屬性
例外狀況
若 handler 為空
備註
財產取得者文件:
回傳目前無法執行任務的處理器。
Java 文件 java.util.concurrent.ThreadPoolExecutor.getRejectedExecutionHandler()。
屬性設定文件:
為不可執行任務設定新的處理器。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。