Stream.CanTimeout Property
.NET Framework 2.0
Note: This property is new in the .NET Framework version 2.0.
Gets a value that determines whether the current stream can time out.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly: mscorlib (in mscorlib.dll)
'Declaration <ComVisibleAttribute(False)> _ Public Overridable ReadOnly Property CanTimeout As Boolean 'Usage Dim instance As Stream Dim value As Boolean value = instance.CanTimeout
/** @property */ public boolean get_CanTimeout ()
public function get CanTimeout () : boolean
Property Value
A value that determines whether the current stream can time out.The CanTimeout property always returns false. Some stream implementations require different behavior, such as NetworkStream, which times out if network connectivity is interrupted or lost. If you are implementing a stream that must be able to time out, this property should be overridden to return true.
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: