Freigeben über


IVsRunningDocTableEvents4 Interface

Definition

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

public interface class IVsRunningDocTableEvents4
public interface class IVsRunningDocTableEvents4
__interface IVsRunningDocTableEvents4
[System.Runtime.InteropServices.Guid("79A342F3-D637-4D54-83DC-DDD511743A49")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsRunningDocTableEvents4
[<System.Runtime.InteropServices.Guid("79A342F3-D637-4D54-83DC-DDD511743A49")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsRunningDocTableEvents4 = interface
Public Interface IVsRunningDocTableEvents4
Attributes

Remarks

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.

Methods

OnAfterLastDocumentUnlock(IVsHierarchy, UInt32, String, Int32)

Fired after the last document in the Running Document Table (RDT) is unlocked.

OnAfterSaveAll()

Fired after a Save All command is executed.

OnBeforeFirstDocumentLock(IVsHierarchy, UInt32, String)

Called before a document is locked in the Running Document Table (RDT) for the first time.

Applies to