IVsRunningDocumentTable6.NotifyOnBeforeSave(UInt32, UInt32, IVsTask) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Notifies event listeners that a save is about to occur.
public void NotifyOnBeforeSave (uint cookie, uint saveNotificationFlags, Microsoft.VisualStudio.Shell.Interop.IVsTask? saveTask);
abstract member NotifyOnBeforeSave : uint32 * uint32 * Microsoft.VisualStudio.Shell.Interop.IVsTask -> unit
Public Sub NotifyOnBeforeSave (cookie As UInteger, saveNotificationFlags As UInteger, saveTask As IVsTask)
Parameters
- cookie
- UInt32
The document cookie.
- saveNotificationFlags
- UInt32
Provides additional information about the save.
- saveTask
- IVsTask
A task representing the save operation.
Remarks
This method must be accessed on the main thread.