Partager via


IVsAsyncRunningDocumentTable2.UpdateAsyncSaveState Method

Definition

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.

Applies to