Partilhar via


IVsAsyncPersistDocData.LoadDocDataAsync(String, IVsProgress) Method

Definition

Loads the document data for a given document, asynchronously.

public Microsoft.VisualStudio.Shell.Interop.IVsTask LoadDocDataAsync (string moniker, Microsoft.VisualStudio.Shell.Interop.IVsProgress? progress);
abstract member LoadDocDataAsync : string * Microsoft.VisualStudio.Shell.Interop.IVsProgress -> Microsoft.VisualStudio.Shell.Interop.IVsTask
Public Function LoadDocDataAsync (moniker As String, progress As IVsProgress) As IVsTask

Parameters

moniker
String

The moniker for the document to be loaded.

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