Поділитися через


DataCacheTransportProperties.ReceiveTimeout Property

Gets or sets the length of time to wait for a request before aborting the channel.

Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Core (in microsoft.applicationserver.caching.core.dll)

Usage

'Usage
Dim instance As DataCacheTransportProperties
Dim value As TimeSpan

value = instance.ReceiveTimeout

instance.ReceiveTimeout = value

Syntax

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

/** @property */
public void set_ReceiveTimeout (TimeSpan value)
public function get ReceiveTimeout () : TimeSpan

public function set ReceiveTimeout (value : TimeSpan)

Property Value

Returns TimeSpan.

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

DataCacheTransportProperties Class
DataCacheTransportProperties Members
Microsoft.ApplicationServer.Caching Namespace

  ff425062(v=azure.10).md 2011-08-26