ILanguageClientCustomMessage2.AttachForCustomMessageAsync(JsonRpc) Method

Definition

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

public:
 System::Threading::Tasks::Task ^ AttachForCustomMessageAsync(StreamJsonRpc::JsonRpc ^ rpc);
public System.Threading.Tasks.Task AttachForCustomMessageAsync (StreamJsonRpc.JsonRpc rpc);
abstract member AttachForCustomMessageAsync : StreamJsonRpc.JsonRpc -> System.Threading.Tasks.Task
Public Function AttachForCustomMessageAsync (rpc As JsonRpc) As Task

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