IVsAsyncPersistDocData.LoadDocDataAsync(String, IVsProgress) 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.
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.