Share via


WorkspaceServiceHelper.GetIndexWorkspaceDataServiceAsync(IWorkspace) Method

Definition

Get the IIndexWorkspaceDataService for a workspace instance.

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

Parameters

workspace
IWorkspace

workspace instance.

Returns

A Task representing the asynchronous operation whose result will be either an instance of the IIndexWorkspaceDataService or null.

Applies to