Share via


WorkspaceServiceHelper.GetFileWatcherServiceAsync(IWorkspace) Method

Definition

Get the IFileWatcherService for a workspace.

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

Parameters

workspace
IWorkspace

workspace instance.

Returns

A Task representing the asynchronous operation whose result is an instance of the IFileWatcherService.

Applies to