Bagikan melalui


WorkspaceSuppressAsynchronousScanner Class

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

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Client.WorkspaceSuppressAsynchronousScanner

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

Syntax

'Declaration
Public NotInheritable Class WorkspaceSuppressAsynchronousScanner _
    Implements IDisposable
public sealed class WorkspaceSuppressAsynchronousScanner : IDisposable
public ref class WorkspaceSuppressAsynchronousScanner sealed : IDisposable
[<Sealed>]
type WorkspaceSuppressAsynchronousScanner =  
    class 
        interface IDisposable 
    end
public final class WorkspaceSuppressAsynchronousScanner implements IDisposable

The WorkspaceSuppressAsynchronousScanner type exposes the following members.

Constructors

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

Top

Methods

  Name Description
Public method Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

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

See Also

Reference

Microsoft.TeamFoundation.VersionControl.Client Namespace