ILanguageClient.StartAsync 事件

定义

异步事件,用于向 Visual Studio 指示应通过调用 ActivateAsync(CancellationToken)启动服务器。 如果服务器已启动,则将忽略此事件。

public:
 event Microsoft::VisualStudio::Threading::AsyncEventHandler<EventArgs ^> ^ StartAsync;
event Microsoft.VisualStudio.Threading.AsyncEventHandler<EventArgs> StartAsync;
event Microsoft.VisualStudio.Threading.AsyncEventHandler<EventArgs>? StartAsync;
member this.StartAsync : Microsoft.VisualStudio.Threading.AsyncEventHandler<EventArgs> 
Event StartAsync As AsyncEventHandler(Of EventArgs) 

事件类型

注解

必须调用此事件才能启动语言服务器。

适用于