Stream::WriteTimeout Property
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)
public: [ComVisibleAttribute(false)] property int WriteTimeout { virtual int get(); virtual void set(int value); }
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.
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