IVsProvideAsyncSaveState.GetAsyncSaveState 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.
Returns a state object (such as a checkpoint) for an async save operation.
public object? GetAsyncSaveState ();
abstract member GetAsyncSaveState : unit -> obj
Public Function GetAsyncSaveState () As Object
Returns
Remarks
This method is called at the beginning of an asynchronous save. A docdata can implement this interface and supply a state object. It can retrieve the state object in its implementation of SaveAsync(String, Boolean, IVsProgress) or SaveAsync(String, Boolean, UInt32, IVsProgress) by calling IVsAsyncRunningDocumentTable.GetAsyncSaveState.