Class ConcurrentObserverCallsException
- Namespace
- ReactiveUI.Extensions.Async
- Assembly
- ReactiveUI.Extensions.dll
The exception that is thrown when multiple concurrent calls are made to observer methods that do not support concurrent execution.
public class ConcurrentObserverCallsException : Exception, ISerializable
- Inheritance
-
ConcurrentObserverCallsException
- Implements
- Inherited Members
- Extension Methods
Remarks
This exception indicates that a call to OnNextAsync, OnErrorResumeAsync, or OnCompletedAsync was attempted while a previous call to one of these methods is still pending. ObserverAsync{T} does not allow concurrent invocations of these methods; callers should ensure that each call completes before initiating another.
Constructors
ConcurrentObserverCallsException()
Initializes a new instance of the ConcurrentObserverCallsException class.
public ConcurrentObserverCallsException()
ConcurrentObserverCallsException(string)
Initializes a new instance of the ConcurrentObserverCallsException class with a specified error message.
public ConcurrentObserverCallsException(string message)
Parameters
messagestringThe message that describes the error.
ConcurrentObserverCallsException(string, Exception)
Initializes a new instance of the ConcurrentObserverCallsException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public ConcurrentObserverCallsException(string message, Exception innerException)