Export (0) Print
Expand All

RefCountDisposable Class

March 22, 2012

Represents a disposable that only disposes its underlying disposable when all dependent disposables have been disposed.

System.Object
  Microsoft.Phone.Reactive.RefCountDisposable

Namespace:  Microsoft.Phone.Reactive
Assembly:  Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)

public sealed class RefCountDisposable : IDisposable

The RefCountDisposable type exposes the following members.

  NameDescription
Public methodRefCountDisposableCreates a disposable that only disposes its underlying disposable when all dependent disposables have been disposed.
Top

  NameDescription
Public methodDisposeDisposes the underlying disposable only when all dependent disposables have been disposed.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetDisposableReturns a disposable that, when disposed, decreases the refcount on the underlying disposable.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

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:
© 2014 Microsoft