ILanguageClientCustomMessage2.AttachForCustomMessageAsync(JsonRpc) Method

Definition

This method is called after the language server has been activated, but connection has not been established.

C++
public:
 System::Threading::Tasks::Task ^ AttachForCustomMessageAsync(StreamJsonRpc::JsonRpc ^ rpc);

Parameters

rpc
JsonRpc

The JsonRpc object used to send custom messages to the language server.

Returns

A task that completes when the language client is ready to send custom messages to the language server.

Applies to

Product Versions
Visual Studio SDK 2019, 2022