Export (0) Print
Expand All

ContextDisposable Class

Represents a thread-affine IDisposable.

System.Object
  System.Reactive.Disposables.ContextDisposable

Namespace:  System.Reactive.Disposables
Assembly:  System.Reactive (in System.Reactive.dll)

public sealed class ContextDisposable : IDisposable

The ContextDisposable type exposes the following members.

  NameDescription
Public methodContextDisposableInitializes a new instance of the ContextDisposable class that uses a SynchronizationContext on which to dispose the disposable.
Top

  NameDescription
Public propertyContextGets the provided SynchronizationContext.
Public propertyIsDisposedGets a value that indicates whether the object is disposed.
Top

  NameDescription
Public methodDisposeDisposes the wrapped disposable on the provided SynchronizationContext.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft