Compartir a través de


Stream.CanTimeout Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets a value that determines whether the current stream can time out.

Namespace:  System.IO
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Overridable ReadOnly Property CanTimeout As Boolean
[ComVisibleAttribute(false)]
public virtual bool CanTimeout { get; }

Property Value

Type: System.Boolean
A value that determines whether the current stream can time out.

Remarks

The CanTimeout property always returns false. If you are implementing a stream that must be able to time out, this property should be overridden to return true.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.