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