Share via


CanTimeout Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

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

Syntax

'Declaration
Public Overridable ReadOnly Property CanTimeout As Boolean
public virtual bool CanTimeout { get; }
public:
virtual property bool CanTimeout {
    bool get ();
}
abstract CanTimeout : bool with get
override CanTimeout : bool with get
function get CanTimeout () : boolean

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.

.NET Framework Security

See Also

Reference

Stream Class

System.IO Namespace