IVsAsyncFileChangeEx.IgnoreDirAsync Method       
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Ignores or un-ignores changes in a directory and its subdirectories.
public System.Threading.Tasks.Task IgnoreDirAsync(string directory, bool ignore, System.Threading.CancellationToken cancellationToken = default);
	abstract member IgnoreDirAsync : string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task
	Public Function IgnoreDirAsync (directory As String, ignore As Boolean, Optional cancellationToken As CancellationToken = Nothing) As Task
	Parameters
- directory
 - String
 
The name of the directory to ignore.
- ignore
 - Boolean
 
True to ignore directory, false to un-ignore.
- cancellationToken
 - CancellationToken
 
The cancellation token.
Returns
A task that will complete once the operation is finished.
Remarks
This method is safe to access from any thread.