IDocumentEventsListener.OpenedAsync 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.
Called after a document is opened.
public System.Threading.Tasks.Task OpenedAsync (Microsoft.VisualStudio.RpcContracts.Documents.DocumentEventArgs e, System.Threading.CancellationToken token);
abstract member OpenedAsync : Microsoft.VisualStudio.RpcContracts.Documents.DocumentEventArgs * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function OpenedAsync (e As DocumentEventArgs, token As CancellationToken) As Task
Parameters
The event arguments.
- token
- CancellationToken
The cancellation token.
Returns
A Task representing the asynchronous operation.