Partilhar via


IVsProvideAsyncSaveState.GetAsyncSaveState Method

Definition

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.

Applies to