Share via


WorkspaceServiceHelper.GetBuildMessageService(IWorkspace) Method

Definition

Get the IBuildMessageService for a workspace.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::VisualStudio::Workspace::Build::IBuildMessageService ^ GetBuildMessageService(Microsoft::VisualStudio::Workspace::IWorkspace ^ workspace);
public static Microsoft.VisualStudio.Workspace.Build.IBuildMessageService GetBuildMessageService (this Microsoft.VisualStudio.Workspace.IWorkspace workspace);
public static Microsoft.VisualStudio.Workspace.Build.IBuildMessageService? GetBuildMessageService (this Microsoft.VisualStudio.Workspace.IWorkspace workspace);
static member GetBuildMessageService : Microsoft.VisualStudio.Workspace.IWorkspace -> Microsoft.VisualStudio.Workspace.Build.IBuildMessageService
<Extension()>
Public Function GetBuildMessageService (workspace As IWorkspace) As IBuildMessageService

Parameters

workspace
IWorkspace

workspace instance.

Returns

An instance of IBuildMessageService or null.

Applies to