ThreadPoolExecutor.RejectedExecutionHandler Propriedade

Definição

Retorna o manipulador atual para tarefas inexecutáveis. -ou- Define um novo manipulador para tarefas não reexecutáveis.

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

Valor da propriedade

o manipulador atual

Atributos

Exceções

se o manipulador for nulo

Comentários

Documentação do getter de propriedades:

Retorna o manipulador atual para tarefas inexecutáveis.

Java documentação para java.util.concurrent.ThreadPoolExecutor.getRejectedExecutionHandler().

Documentação do setter de propriedades:

Define um novo manipulador para tarefas inexecutáveis.

Java documentação para java.util.concurrent.ThreadPoolExecutor.setRejectedExecutionHandler(java.util.concurrent.RejectedExecutionHandler).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a

Confira também