DataCacheFactoryConfiguration.ChannelOpenTimeout Property

 

Gets or sets the length of time that the cache client waits to establish a network connection with the server.

Namespace:   Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)

Syntax

public TimeSpan ChannelOpenTimeout { get; set; }
public:
property TimeSpan ChannelOpenTimeout {
    TimeSpan get();
    void set(TimeSpan value);
}
member ChannelOpenTimeout : TimeSpan with get, set
Public Property ChannelOpenTimeout As TimeSpan

Property Value

Type: System.TimeSpan

A TimeSpan object..

Remarks

In some cases, it is useful to set ChannelOpenTimeout to 0. This means that any problems with the connection will immediately fail. The code can then handle the failure. For example, it could retry or fall back to an alternate data source. For more information, see .f03e9369-ca4e-4fd1-a617-b140ad827903

See Also

DataCacheFactoryConfiguration Class
Microsoft.ApplicationServer.Caching Namespace

Return to top