SALG : 1-800-867-1389
Dette indhold er ikke tilgængeligt på dit sprog, men her er den engelske version.

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)

public TimeSpan ChannelOpenTimeout { 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.

Syntes du, dette var nyttigt?
(1500 tegn tilbage)
Tak for din feedback


© 2014 Microsoft