Property WriteTimeout
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
WriteTimeout
Gets or sets a value, in milliseconds, that determines how long the stream will attempt to write before timing out.
public override int WriteTimeout { get; set; }
Property Value
A value, in milliseconds, that determines how long the stream will attempt to write before timing out.
Exceptions
The WriteTimeout method always throws an InvalidOperationException.