IVsTrackProjectDocumentsEvents3 Interface

Receives calls made to the IVsTrackProjectDocuments3 interface. It provides support for batch-processing queries and for coordination of file access.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("53544C4D-BD74-4D21-A79F-2C190E38AB6F")> _
Public Interface IVsTrackProjectDocumentsEvents3
[InterfaceTypeAttribute()]
[GuidAttribute("53544C4D-BD74-4D21-A79F-2C190E38AB6F")]
public interface IVsTrackProjectDocumentsEvents3
[InterfaceTypeAttribute()]
[GuidAttribute(L"53544C4D-BD74-4D21-A79F-2C190E38AB6F")]
public interface class IVsTrackProjectDocumentsEvents3
[<InterfaceTypeAttribute()>]
[<GuidAttribute("53544C4D-BD74-4D21-A79F-2C190E38AB6F")>]
type IVsTrackProjectDocumentsEvents3 =  interface end
public interface IVsTrackProjectDocumentsEvents3

The IVsTrackProjectDocumentsEvents3 type exposes the following members.

Methods

  Name Description
Public method HandsOffFiles Accesses a specified set of files and asks all implementers of this method to release any locks that may exist on those files.
Public method HandsOnFiles Called when a project has completed operations on a set of files.
Public method OnBeginQueryBatch Indicates that a project is about start a batch query process.
Public method OnCancelQueryBatch This method is called to indicate that a batch query process has been canceled.
Public method OnEndQueryBatch Determines whether it is okay to proceed with the actual batch operation after successful completion of a batch query process.
Public method OnQueryAddFilesEx Determines if it is okay to add a collection of files (possibly from source control) whose final destination may be different from a source location.

Top

Remarks

For every call to OnBeginQueryBatch method, there is a matching call to OnEndQueryBatch method or OnCancelQueryBatch method.

Notes to Implementers

This interface is implemented by any entity that needs to receive events from calls made to the IVsTrackProjectDocuments3 interface in order to coordinate file access with a project. Typically, this entity is a source control package.

Note

This interface is implemented on the same object that implements the IVsTrackProjectDocumentsEvents2 interface and is obtained with a call to the QueryInterface method on the IVsTrackProjectDocumentsEvents2 interface.

Notes to Callers

This interface is called in response to calls made to corresponding methods on the IVsTrackProjectDocuments3 interface. Typically, Visual Studio implements the IVsTrackProjectDocuments3 interface and forwards all calls made to that interface to the current source control package, if that package implements the IVsTrackProjectDocumentsEvents3 interface for handling.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace