共用方式為


ILanguageClientBroker.LoadAsync Method

Definition

Loads a language client.

public:
 System::Threading::Tasks::Task ^ LoadAsync(Microsoft::VisualStudio::LanguageServer::Client::ILanguageClientMetadata ^ metadata, Microsoft::VisualStudio::LanguageServer::Client::ILanguageClient ^ client);
public System.Threading.Tasks.Task LoadAsync (Microsoft.VisualStudio.LanguageServer.Client.ILanguageClientMetadata metadata, Microsoft.VisualStudio.LanguageServer.Client.ILanguageClient client);
abstract member LoadAsync : Microsoft.VisualStudio.LanguageServer.Client.ILanguageClientMetadata * Microsoft.VisualStudio.LanguageServer.Client.ILanguageClient -> System.Threading.Tasks.Task
Public Function LoadAsync (metadata As ILanguageClientMetadata, client As ILanguageClient) As Task

Parameters

metadata
ILanguageClientMetadata

Content type of the language client.

client
ILanguageClient

The language client.

Returns

A task that completes when loading completes.

Applies to