Search Results for

    Show / Hide Table of Contents

    Class MemSnapshot

    The MemSnapshot class represents a snapshot of the garbage collected heap. It is returned by FastSnapshot() and FullSnapshot(Boolean). It can be used as a reference snapshot in calls to the MemAssertion methods.

    Inheritance
    System.Object
    MemSnapshot
    Implements
    System.IDisposable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: SciTech.NetMemProfiler
    Assembly: SciTech.MemProfilerApi.dll
    Syntax
    public class MemSnapshot : IDisposable

    Fields

    Name Description
    Empty

    Represents an empty snapshot. An empty snapshot will be returned from MemProfiler.FullSnapshot and MemProfiler.FastSnapshot if profiling is not active.

    Properties

    Name Description
    IsDisposed

    Gets a value indicating whether this snapshot has been disposed.

    IsEmpty

    Gets a value indicating whether this snapshot is an empty snapshot.

    Methods

    Name Description
    Dispose()

    Releases the data associated with this snapshot.

    Finalize()

    Releases the data stored for this snapshot. If possible, it is recommended that the Dispose() method is used to release the data as soon as the snapshot is no longer needed.

    In This Article
    Back to top

    © Copyright 2002-2020. SciTech Software AB.
    For information about .NET Memory Profiler, see the product site at https://memprofiler.com