Skip to content

ExceptionHelpers.ObservableThrowObjectDisposedException(string, Exception?) method

Defined in

Type: ExceptionHelpers Namespace: ReactiveMarbles.CacheDatabase.Core Assembly: ReactiveMarbles.CacheDatabase.Core.dll

Applies to

netstandard2.0

public static IObservable<T> ObservableThrowObjectDisposedException<T>(string obj, Exception? innerException = null)

View source

Summary: Throws an exception that the object is disposed.

Type parameters

NameDescription
TThe type of value.

Parameters

NameTypeDescription
objstringThe object name that is disposed.
innerException = nullException?The inner exception if any.

Returns: IObservable -- The observable.