SALES: 1-800-867-1380

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)

member ChannelOpenTimeout : TimeSpan with get, set

Property Value

Type: System..::..TimeSpan
A TimeSpan object..

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 Handling Errors.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft