Share via


AssemblyCacheMonitor Class

Monitors the state of the assembly cache.

Inheritance Hierarchy

Object
  MarshalByRefObject
    Microsoft.VisualStudio.TextTemplating.AssemblyCacheMonitor

Namespace:  Microsoft.VisualStudio.TextTemplating
Assembly:  Microsoft.VisualStudio.TextTemplating.11.0 (in Microsoft.VisualStudio.TextTemplating.11.0.dll)

Syntax

'Declaration
Public NotInheritable Class AssemblyCacheMonitor _
    Inherits MarshalByRefObject
public sealed class AssemblyCacheMonitor : MarshalByRefObject
public ref class AssemblyCacheMonitor sealed : public MarshalByRefObject
[<Sealed>]
type AssemblyCacheMonitor =  
    class 
        inherit MarshalByRefObject 
    end
public final class AssemblyCacheMonitor extends MarshalByRefObject

The AssemblyCacheMonitor type exposes the following members.

Constructors

  Name Description
Public method AssemblyCacheMonitor Initializes a new instance of the AssemblyCacheMonitor class.

Top

Methods

  Name Description
Public method CreateObjRef Security Critical. Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Security Critical. Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetStaleAssembliesCount Gets the number of assemblies in the cache that have not been used after a specific length of time.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Security Critical. Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.TextTemplating Namespace