Stream.WriteTimeout Property
.NET Framework (current version)
Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System.Int32A value, in miliseconds, that determines how long the stream will attempt to write before timing out.
| Exception | Condition |
|---|---|
| InvalidOperationException | The WriteTimeout method always throws an InvalidOperationException. |
Notes to Inheritors:
The WriteTimeout property should be overridden to provide the appropriate behavior for the stream. If the stream does not support timing out, this property should raise an InvalidOperationException.
Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Show: