Table of Contents

Class UnsubscriptionException

Namespace
RxSharp
Assembly
RxSharp.dll

Raised when one or more finalizers throw while a Subscription is being disposed. Mirrors rxjs's UnsubscriptionError.

public sealed class UnsubscriptionException : Exception
Inheritance
System.Object
UnsubscriptionException

Constructors

UnsubscriptionException()

Initializes a new instance of the UnsubscriptionException class with no inner errors.

public UnsubscriptionException()

UnsubscriptionException(IReadOnlyList<Exception>)

Initializes a new instance of the UnsubscriptionException class wrapping the given finalizer errors.

public UnsubscriptionException(IReadOnlyList<Exception> errors)

Parameters

errors IReadOnlyList<Exception>

The exceptions thrown by individual finalizers during disposal.

Properties

Errors

Gets the exceptions thrown by individual finalizers while a Subscription was being disposed.

public IReadOnlyList<Exception> Errors { get; }

Property Value

IReadOnlyList<Exception>