IVsRunningDocTableEvents4 Interface

Implements methods that fire in response to changes to documents in the Running Document Table (RDT).

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

public interface IVsRunningDocTableEvents4

The IVsRunningDocTableEvents4 type exposes the following members.

Public methodOnAfterLastDocumentUnlockFired after the last document in the Running Document Table (RDT) is unlocked.
Public methodOnAfterSaveAllFired after a Save All command is executed.
Public methodOnBeforeFirstDocumentLock

The IVsRunningDocTableEvents interface is specified in a call to the AdviseRunningDocTableEvents method in the IVsRunningDocumentTable interface. The method also returns a cookie representing the client requesting the notification. The cookie is used in the call to the UnadviseRunningDocTableEvents method when the package no longer wants to listen to RDT events.

Notes to Implementers

This interface is implemented by packages to receive events relating to the current state of documents in the RDT. This interface must be implemented on the same class that implements the IVsRunningDocTableEvents interface. The environment calls the QueryInterface method on the IVsRunningDocTableEvents interface to obtain the IVsRunningDocTableEvents4 interface.

Notes to Callers

This interface is called by the environment when specific events have occurred. This interface is called before the first document lock is applied.

Community Additions