WorkspaceServiceHelper.GetBuildMessageServiceAsync(IWorkspace) Method

Definition

Get the IBuildMessageService for a workspace.

C#
public static System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.Build.IBuildMessageService?> GetBuildMessageServiceAsync(this Microsoft.VisualStudio.Workspace.IWorkspace workspace);

Parameters

workspace
IWorkspace

workspace instance.

Returns

A Task representing the asynchronous operation whose result is either an instance of IBuildMessageService or null.

Applies to

Proizvod Verzije
Visual Studio SDK 2022