共用方式為


WorkspaceServiceHelper.GetBuildMessageService(IWorkspace) 方法

定義

從工作區傳回組建訊息服務

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

參數

workspace
IWorkspace

工作區實例

傳回

找不到 IBuildMessageService 的實例或 Null

適用於