Share via


DataCacheFactoryConfiguration.RequestTimeout Property

Gets or sets the length of time that the cache client waits for a response from the server for each request.

Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Client (in microsoft.applicationserver.caching.client.dll)

Usage

'Usage
Dim instance As DataCacheFactoryConfiguration
Dim value As TimeSpan

value = instance.RequestTimeout

instance.RequestTimeout = value

Syntax

'Declaration
Public Property RequestTimeout As TimeSpan
public TimeSpan RequestTimeout { get; set; }
public:
property TimeSpan RequestTimeout {
    TimeSpan get ();
    void set (TimeSpan value);
}
/** @property */
public TimeSpan get_RequestTimeout ()

/** @property */
public void set_RequestTimeout (TimeSpan value)
public function get RequestTimeout () : TimeSpan

public function set RequestTimeout (value : TimeSpan)

Property Value

A TimeSpanobject.

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.

Platforms

Development Platforms

Visual Studio 2010 and later, .NET Framework 4

Target Platforms

Windows 7; Windows Server 2008 R2; Windows Server 2008 Service Pack 2; Windows Vista Service Pack 2

See Also

Reference

DataCacheFactoryConfiguration Class
DataCacheFactoryConfiguration Members
Microsoft.ApplicationServer.Caching Namespace

Other Resources

Configuring Cache Client Timeouts

  2011-08-26