IVsAsyncRunningDocumentTable2.UpdateAsyncSaveState 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.
Updates the state object (such as a checkpoint) for an async save operation.
public void UpdateAsyncSaveState (Microsoft.VisualStudio.Shell.Interop.IVsProvideAsyncSaveState provider, object saveState);
abstract member UpdateAsyncSaveState : Microsoft.VisualStudio.Shell.Interop.IVsProvideAsyncSaveState * obj -> unit
Public Sub UpdateAsyncSaveState (provider As IVsProvideAsyncSaveState, saveState As Object)
Parameters
- provider
- IVsProvideAsyncSaveState
The provider of the state object.
- saveState
- Object
The provider's updated state object.
Remarks
A provider might want to do this if the state object changed, say, while processing the OnBeforeSave or OnBeforeSaveAsync event.
This method is safe to access from any thread.