Skip to content

SingleAssignmentDisposable.Disposable property

Defined in

Type: SingleAssignmentDisposable Namespace: System.Reactive.Disposables Assembly: System.Reactive.dll

Applies to

netstandard2.0

public IDisposable? Disposable { get; set; }

Summary: Gets or sets the underlying disposable. After disposal, the result of getting this property is undefined.

Returns: IDisposable?

Exceptions

TypeCondition
System.InvalidOperationExceptionThrown if the [SingleAssignmentDisposable](# has already been assigned to.