共用方式為


ProxyConfiguration Class

Proxy Configuration Information

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Server.Core.ProxyConfiguration

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Public Class ProxyConfiguration _
    Implements IDisposable
public class ProxyConfiguration : IDisposable
public ref class ProxyConfiguration : IDisposable
type ProxyConfiguration =  
    class 
        interface IDisposable 
    end
public class ProxyConfiguration implements IDisposable

The ProxyConfiguration type exposes the following members.

Properties

  Name Description
Public property ApplicationTierReadTimeout When reading from the source it should only allow reader timeout before failing the request.
Public property CacheDeletionPercent Indicates the percentage of cache size that needs to be freed up, when cache limit is reached.
Public property CacheLimit The maximum size of proxy file cache in MB. A cache cleanup will be performed if this limit is exceeded.
Public property CacheLimitPercent Maximum cache size expressed as % of available disk space.
Public property CacheRoot Root folder for the proxy to store its local file cache.
Public property DeletionAgeThreshold
Public property GitCacheEnabledState
Public property IsRemoteConfiguration IsRemoteConfiguration defines whether or not a proxy is running remotely or it is running as a file cache within the main servers process.
Public property IsValid IsValid returns true if the configuration settings are setup in a valid state. false means there are issues with the configuration and the event log should have details.
Public property ReaderChunkSize The maximum number of bytes to read from the cache miss stream in one operation.
Public property StatisticsPersistTime The time(in hours) after which the statistics information should be saved to the config file.
Public property VCCacheEnabledState
Public property WriterChunkSize The maximum number of bytes to write to the cache miss stream in one operation.

Top

Methods

  Name Description
Public method Dispose
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (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.Server.Core Namespace