ILanguageClient.StartAsync 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
异步事件,用于向 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)
事件类型
注解
必须调用此事件才能启动语言服务器。