VsMSBuildTaskFileManagerClass Class

This is the standard implementation of the IVsMSBuildTaskFileManager interface, which provides IntelliSense and build-time support to MSBuild tasks.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Shell.Interop.VsMSBuildTaskFileManagerClass

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)

Syntax

'Declaration
<GuidAttribute("E2905C7C-4435-4212-9148-BE9614BD377B")> _
<ClassInterfaceAttribute()> _
Public Class VsMSBuildTaskFileManagerClass _
    Implements IVsMSBuildHostObject, VsMSBuildTaskFileManager, IVsMSBuildTaskFileManager
[GuidAttribute("E2905C7C-4435-4212-9148-BE9614BD377B")]
[ClassInterfaceAttribute()]
public class VsMSBuildTaskFileManagerClass : IVsMSBuildHostObject, 
    VsMSBuildTaskFileManager, IVsMSBuildTaskFileManager
[GuidAttribute(L"E2905C7C-4435-4212-9148-BE9614BD377B")]
[ClassInterfaceAttribute()]
public ref class VsMSBuildTaskFileManagerClass : IVsMSBuildHostObject, 
    VsMSBuildTaskFileManager, IVsMSBuildTaskFileManager
[<GuidAttribute("E2905C7C-4435-4212-9148-BE9614BD377B")>]
[<ClassInterfaceAttribute()>]
type VsMSBuildTaskFileManagerClass =  
    class 
        interface IVsMSBuildHostObject 
        interface VsMSBuildTaskFileManager 
        interface IVsMSBuildTaskFileManager 
    end
public class VsMSBuildTaskFileManagerClass implements IVsMSBuildHostObject, VsMSBuildTaskFileManager, IVsMSBuildTaskFileManager

The VsMSBuildTaskFileManagerClass type exposes the following members.

Constructors

  Name Description
Public method VsMSBuildTaskFileManagerClass Creates a new instance of the class.

Top

Methods

  Name Description
Public method BeginBuild Begins a build.
Public method Close Closes a build host object.
Public method Delete Deletes the specified file on disk and removes it from the running document table (RDT).
Public method EndBuild Ends a build.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Exists Determines if the specified file exists in the running document table (RDT) or on disk.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetFileContents Gets the contents of the specified file, based on what is in memory or if not in memory, what is on disk.
Public method GetFileDocData Retrieves the live punkDocData object for the specified file if the file is registered in the running document table (RDT).
Public method GetFileLastChangeTime Retrieves the time of the last change to the specified file.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Init Initializes a build host object.
Public method IsRealBuildOperation Determines whether this is an actual build operation, or is a design-time-only generation for IntelliSense purposes.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method PutGeneratedFileContents Puts the contents for the generated file into an in-memory TextBuffer and registers it in the running document table (RDT) with an RDT_ReadLock. This holds the file open in memory until the project is closed (when the project calls IVsMSBuildHostObject::Close).
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.Shell.Interop Namespace