IVsRunningDocTableEvents3 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 (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("376ED667-F576-458F-B991-2CFD3EBC7B08")> _
Public Interface IVsRunningDocTableEvents3 _
    Inherits IVsRunningDocTableEvents2
'Usage
Dim instance As IVsRunningDocTableEvents3
[InterfaceTypeAttribute()]
[GuidAttribute("376ED667-F576-458F-B991-2CFD3EBC7B08")]
public interface IVsRunningDocTableEvents3 : IVsRunningDocTableEvents2
[InterfaceTypeAttribute()]
[GuidAttribute(L"376ED667-F576-458F-B991-2CFD3EBC7B08")]
public interface class IVsRunningDocTableEvents3 : IVsRunningDocTableEvents2
public interface IVsRunningDocTableEvents3 extends IVsRunningDocTableEvents2

Remarks

The IVsRunningDocTableEvents3 interface is specified in a call to the AdviseRunningDocTableEvents method in the IVsRunningDocumentTable interface.

The interface's methods use 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.

To receive notice before the application of the first lock on a document (giving you a chance to load the document), implement the IVsRunningDocTableEvents4 interface.

Notes to Implementers:

The package implements the interface to receive events relating to the current state of documents in the RDT. Note that this interface derives from the IVsRunningDocTableEvents2 interface and must implement all of that interface's methods as well.

The cookie parameter passed to all of the methods in this interface represents the document affected by an event. This cookie is the same value returned from FindAndLockDocument or RegisterAndLockDocument methods in the IVsRunningDocumentTable interface.

Notes to Callers:

The environment calls this interface on the occurrence of specific events. In particular, the environment calls this interface before saving a document.

See Also

Reference

IVsRunningDocTableEvents3 Members

Microsoft.VisualStudio.Shell.Interop Namespace