共用方式為


ILanguageClientDidChangeConfigurationProvider.DidChangeConfiguration Method

Definition

Intercepts calls for the 'workspace/didChangeConfiguration' notification.

public:
 System::Threading::Tasks::Task ^ DidChangeConfiguration(Microsoft::VisualStudio::LanguageServer::Protocol::DidChangeConfigurationParams ^ param, Func<Microsoft::VisualStudio::LanguageServer::Protocol::DidChangeConfigurationParams ^, System::Threading::Tasks::Task ^> ^ sendNotification);
public System.Threading.Tasks.Task DidChangeConfiguration (Microsoft.VisualStudio.LanguageServer.Protocol.DidChangeConfigurationParams param, Func<Microsoft.VisualStudio.LanguageServer.Protocol.DidChangeConfigurationParams,System.Threading.Tasks.Task> sendNotification);
abstract member DidChangeConfiguration : Microsoft.VisualStudio.LanguageServer.Protocol.DidChangeConfigurationParams * Func<Microsoft.VisualStudio.LanguageServer.Protocol.DidChangeConfigurationParams, System.Threading.Tasks.Task> -> System.Threading.Tasks.Task
Public Function DidChangeConfiguration (param As DidChangeConfigurationParams, sendNotification As Func(Of DidChangeConfigurationParams, Task)) As Task

Parameters

param
DidChangeConfigurationParams

Parameter to be sent for the request

sendNotification
Func<DidChangeConfigurationParams,Task>

Function delegate which will send the notification to the server. This delegate can be ignored and not invoked if the choice is to not send the notification to the server. It must be invoked in this method if the choice is to send the notification to the server.

Returns

A Task that completes once the command has been processed

Applies to