ThreadPoolExecutor.RejectedExecutionHandler プロパティ

定義

実行できないタスクの現在のハンドラーを返します。 または、実行できないタスクの新しいハンドラーを設定します。

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

プロパティ値

現在のハンドラー

属性

例外

ハンドラーが null の場合

注釈

プロパティ getter のドキュメント:

実行できないタスクの現在のハンドラーを返します。

の Java ドキュメント java.util.concurrent.ThreadPoolExecutor.getRejectedExecutionHandler()

プロパティ セッターのドキュメント:

実行できないタスクの新しいハンドラーを設定します。

の Java ドキュメント java.util.concurrent.ThreadPoolExecutor.setRejectedExecutionHandler(java.util.concurrent.RejectedExecutionHandler)

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

こちらもご覧ください