Share via


CanTimeout Property

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

Indicates whether timeout properties are usable for NetworkStream.

Namespace:  System.Net.Sockets
Assembly:  System (in System.dll)

Syntax

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

Property Value

Type: System. . :: . .Boolean
true in all cases.

Remarks

This property is present because it is inherited from Stream.

.NET Framework Security

See Also

Reference

NetworkStream Class

System.Net.Sockets Namespace