Click or drag to resize

SparqlEvaluationContextQueryTimeout Property

Gets the Query Timeout used for the Query.

Namespace:  VDS.RDF.Query
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public long QueryTimeout { get; }

Property Value

Type: Int64
Remarks

This is taken either from the Timeout property of the SparqlQuery to which this evaluation context pertains (if any) or from the global option Options.QueryExecutionTimeout. To set the Timeout to be used set whichever of those is appropriate prior to evaluating the query. If there is a Query present then it's timeout takes precedence unless it is set to zero (no timeout) in which case the global timeout setting is applied. You cannot set the Query Timeout to be higher than the global timeout unless the global timeout is set to zero (i.e. no global timeout).

See Also