Share via


IDocumentEventsListener.SavingAsync Method

Definition

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

e
DocumentEventArgs

The event arguments.

token
CancellationToken

The cancellation token.

Returns

A Task representing the asynchronous operation.

Applies to