Partager via


ShadowCopyMonitor Class

Monitors the state of shadow-copied assemblies for use by hosts.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    Microsoft.VisualStudio.TextTemplating.ShadowCopyMonitor

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

Syntax

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

The ShadowCopyMonitor type exposes the following members.

Constructors

  Name Description
Public method ShadowCopyMonitor

Top

Properties

  Name Description
Public property AreShadowCopiesObsolete Whether any of the shadow-copied assemblies obsolete with regard to their on-disk files.

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 the default hash function. (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 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