RunningDocumentTable.GetDocumentInfoAsync Method
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.
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Shell.RunningDocumentInfo> GetDocumentInfoAsync (string moniker, System.Threading.CancellationToken token);
member this.GetDocumentInfoAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Shell.RunningDocumentInfo>
Public Function GetDocumentInfoAsync (moniker As String, token As CancellationToken) As Task(Of RunningDocumentInfo)
Parameters
- moniker
- String
- token
- CancellationToken
Returns
Applies to
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Shell.RunningDocumentInfo> GetDocumentInfoAsync (uint docCookie, System.Threading.CancellationToken token);
member this.GetDocumentInfoAsync : uint32 * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Shell.RunningDocumentInfo>
Public Function GetDocumentInfoAsync (docCookie As UInteger, token As CancellationToken) As Task(Of RunningDocumentInfo)
Parameters
- docCookie
- UInt32
- token
- CancellationToken