Share via


IVsTrackProjectDocumentsEvents3.OnBeginQueryBatch Method

Indicates that a project is about start a batch query process.

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

Syntax

'Declaration
Function OnBeginQueryBatch As Integer
int OnBeginQueryBatch()
int OnBeginQueryBatch()
abstract OnBeginQueryBatch : unit -> int 
function OnBeginQueryBatch() : int

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From ivstrackprojectdocumentsevents80.idl

HRESULT OnBeginQueryBatch(void);

This method is called as a result of a call to the BeginQueryBatch method.

This method does whatever setup is necessary to watch a batch query process. When the batch query process is over, the OnEndQueryBatch method or the OnCancelQueryBatch method is called, and those methods can clean up any allocations made in OnBeginQueryBatch).

For every call to this method, there is a corresponding call to either the OnEndQueryBatch method or the OnCancelQueryBatch method.

.NET Framework Security

See Also

Reference

IVsTrackProjectDocumentsEvents3 Interface

Microsoft.VisualStudio.Shell.Interop Namespace