Partager via


IVsRunningDocumentTable6.NotifyOnBeforeSave(UInt32, UInt32, IVsTask) Method

Definition

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.

Applies to