Freigeben über


IVsAsyncFileChangeEx.IgnoreDirAsync Method

Definition

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.

Applies to