IVsAsyncRunningDocumentTable.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.
Retrieves the state object (such as a checkpoint) for an async save operation.
public object? GetAsyncSaveState (Microsoft.VisualStudio.Shell.Interop.IVsProvideAsyncSaveState provider);
abstract member GetAsyncSaveState : Microsoft.VisualStudio.Shell.Interop.IVsProvideAsyncSaveState -> obj
Public Function GetAsyncSaveState (provider As IVsProvideAsyncSaveState) As Object
Parameters
- provider
- IVsProvideAsyncSaveState
The provider of the state object.
Returns
Remarks
This method is called from a docdata's implementation of SaveAsync(String, Boolean, IVsProgress) or SaveAsync(String, Boolean, UInt32, IVsProgress) to fetch the state object supplied by provider
in its implementation of GetAsyncSaveState().
This method is safe to access from any thread.