Show / Hide Table of Contents

Interface ISchedulerExceptionHandler

Interface for schedulers that support handling exceptions, either by using a built-in policy or by some user interaction.

Namespace: Reaqtive.Scheduler
Assembly: Reaqtive.Scheduler.dll
Syntax
public interface ISchedulerExceptionHandler

Methods

TryCatch(Exception, IWorkItem)

Tries to handle an exception that was thrown by a work item running on the scheduler.

Declaration
bool TryCatch(Exception exception, IWorkItem task)
Parameters
Type Name Description
System.Exception exception

Exception to handle.

IWorkItem task

Task that threw the exception.

Returns
Type Description
System.Boolean

true if the exception was handled; otherwise, false.

In This Article
Back to top Generated by DocFX