Compartir a través de


WorkspaceServiceHelper.GetBuildServiceAsync(IWorkspace) Method

Definition

Get the IBuildService for a workspace.

public static System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.Build.IBuildService?> GetBuildServiceAsync (this Microsoft.VisualStudio.Workspace.IWorkspace workspace);
static member GetBuildServiceAsync : Microsoft.VisualStudio.Workspace.IWorkspace -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.Build.IBuildService>
<Extension()>
Public Function GetBuildServiceAsync (workspace As IWorkspace) As Task(Of IBuildService)

Parameters

workspace
IWorkspace

workspace instance.

Returns

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

Applies to