Skip to content

TaskObservationOptions.IgnoreExceptionsAfterUnsubscribe property

Defined in

Type: TaskObservationOptions Namespace: System.Reactive.Concurrency Assembly: System.Reactive.dll

Applies to

netstandard2.0

public bool IgnoreExceptionsAfterUnsubscribe { get; }

Summary: Gets a flag controlling handling of exceptions that occur after cancellation has been initiated by unsubscribing from the observable representing the task's progress.

Returns: bool

Remarks

If this is true, exceptions that occur after all observers have unsubscribed will be handled and silently ignored. If false, they will go unobserved, meaning they will eventually emerge through UnobservedTaskException.