This documentation is archived and is not being maintained.

WorkspaceSuppressAsynchronousScanner Class

Disposable object which suppresses the asynchronous scanner on the attached workspace, if the attached workspace is a local workspace (WorkspaceLocation.Local).


Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

public sealed class WorkspaceSuppressAsynchronousScanner : IDisposable

The WorkspaceSuppressAsynchronousScanner type exposes the following members.

Public methodWorkspaceSuppressAsynchronousScannerUntil this object is disposed, the asynchronous scanner on the attached workspace will be suppressed, if it is active. See Workspace.IsAsynchronous for more information.

Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.