MarkLogic XCC/.Net Library

RequestOptions.TimeoutMillis Property

The timeout value (in milliseconds) to wait for connection to the server. A value of zero indicates no timeout, -1 means to use the default (usually zero).

This is a hint to the implementation. It may not always be possible to reliably timeout a request within the suggested time. Server settings may also interact with or override this value.

[Visual Basic]
Overridable Public Property TimeoutMillis As Integer
[C#]
public virtual int TimeoutMillis {get; set;}

See Also

RequestOptions Class | Marklogic.Xcc Namespace