WorkspaceServiceHelper.GetBuildMessageServiceAsync(IWorkspace) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the IBuildMessageService for a workspace.
public static System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.Build.IBuildMessageService?> GetBuildMessageServiceAsync (this Microsoft.VisualStudio.Workspace.IWorkspace workspace);
static member GetBuildMessageServiceAsync : Microsoft.VisualStudio.Workspace.IWorkspace -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.Build.IBuildMessageService>
<Extension()>
Public Function GetBuildMessageServiceAsync (workspace As IWorkspace) As Task(Of IBuildMessageService)
Parameters
- workspace
- IWorkspace
workspace instance.
Returns
A Task representing the asynchronous operation whose result is either an instance of IBuildMessageService or null.