Partager via


IVsBuildManagerAccessor2 Interface

Provides a way to synchronize access to the default MSBuild build manager.

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

Syntax

'Declaration
<GuidAttribute("BC89279F-B8AE-45DC-A171-52B8B8BA7945")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsBuildManagerAccessor2 _
    Inherits IVsBuildManagerAccessor
[GuidAttribute("BC89279F-B8AE-45DC-A171-52B8B8BA7945")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsBuildManagerAccessor2 : IVsBuildManagerAccessor
[GuidAttribute(L"BC89279F-B8AE-45DC-A171-52B8B8BA7945")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsBuildManagerAccessor2 : IVsBuildManagerAccessor
[<GuidAttribute("BC89279F-B8AE-45DC-A171-52B8B8BA7945")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsBuildManagerAccessor2 =  
    interface 
        interface IVsBuildManagerAccessor 
    end
public interface IVsBuildManagerAccessor2 extends IVsBuildManagerAccessor

The IVsBuildManagerAccessor2 type exposes the following members.

Properties

  Name Description
Public property DesignTimeBuildAvailable Gets an event that is signaled whenever the design-time build resource is available.
Public property UIThreadIsAvailableForBuild Gets an event that is signaled whenever the UI thread is available for a build.

Top

Methods

  Name Description
Public method AcquireBuildResources Acquires the design-time build resource and/or the UI thread for a build, if they are available.
Public method BeginDesignTimeBuild Signals that a modal, design-time build, such as reference resolution, is about to take place.
Public method ClaimUIThreadForBuild Attempts to get the UI thread in order to start a build.
Public method EndDesignTimeBuild Signals that a modal, design-time build, such as reference resolution, should end.
Public method Escape Prepares a string to be persisted within MSBuild without evaluation.
Public method GetCurrentBatchBuildId Returns the current batch build ID, or 0 if there is no batch build going on.
Public method GetSolutionConfiguration Gets the solution configuration.
Public method RegisterLogger Registers a logger for the submission.
Public method ReleaseBuildResources Releases the resource(s) acquired with AcquireBuildResources.
Public method ReleaseUIThreadForBuild Releases a previously-claimed UI thread.
Public method Unescape Restores a previously escaped string to its original value.
Public method UnregisterLoggers Unregisters all loggers for a given submission.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace