System.Net.Sockets.NetworkStream.WriteTimeout Property

Gets or sets the amount of time that a write operation blocks waiting for data.

Syntax

public override int WriteTimeout { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

If the write operation does not complete within the time specified by this property, the write operation throws a System.IO.IOException.

Note:

This property affects only synchronous write operations performed by calling the NetworkStream.Write(Byte[], int, int) method. This property does not affect asynchronous writes performed by calling the NetworkStream.BeginWrite(Byte[], int, int, AsyncCallback, object) method.

Requirements

Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0