Export (0) Print
Expand All

GC Methods

  Name Description
Public method Static AddMemoryPressure Informs the runtime of a large allocation of unmanaged memory that should be taken into account when scheduling garbage collection.
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework Collect Overloaded. Forces garbage collection.
Public method Static CollectionCount Returns the number of times garbage collection has occurred for the specified generation of objects.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Static GetGeneration Overloaded. Returns the current generation number of an object.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework GetTotalMemory Retrieves the number of bytes currently thought to be allocated. A parameter indicates whether this method can wait a short interval before returning, to allow the system to collect garbage and finalize objects.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework KeepAlive References the specified object, which makes it ineligible for garbage collection from the start of the current routine to the point where this method is called.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Static RemoveMemoryPressure Informs the runtime that unmanaged memory has been released and no longer needs to be taken into account when scheduling garbage collection.
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework ReRegisterForFinalize Requests that the system call the finalizer for the specified object for which SuppressFinalize has previously been called.
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework SuppressFinalize Requests that the system not call the finalizer for the specified object.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework WaitForPendingFinalizers Suspends the current thread until the thread that is processing the queue of finalizers has emptied that queue.
Top

Community Additions

ADD
Show:
© 2014 Microsoft