Partilhar via


IVsAsyncPersistDocData.ReloadDocDataAsync(UInt32, IVsProgress) Method

Definition

Reloads the document data asynchronously and in the process determines whether to ignore a subsequent file change.

public Microsoft.VisualStudio.Shell.Interop.IVsTask ReloadDocDataAsync (uint flags, Microsoft.VisualStudio.Shell.Interop.IVsProgress? progress);
abstract member ReloadDocDataAsync : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsProgress -> Microsoft.VisualStudio.Shell.Interop.IVsTask
Public Function ReloadDocDataAsync (flags As UInteger, progress As IVsProgress) As IVsTask

Parameters

flags
UInt32

Flag indicating whether to ignore the next file change when reloading the document data.

progress
IVsProgress

The interface through which progress is reported.

Returns

A task representing the asynchronous operation.

Remarks

This method is safe to access from any thread.

Applies to