Share via


IVsAsyncRunningDocumentTable.GetAsyncSaveState Method

Definition

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.

Applies to