Open this page in the API Guide

RelationalReader.CancelOnDispose Property

Gets or sets a value indicating whether to enable cancel on dispose.

Namespace:  Dundas.BI.Data.DataProviders
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
public bool CancelOnDispose { get; set; }

Property Value

Type: Boolean
true if Cancel on dispose is enabled; otherwise, false.
Remarks
If set to false and you attempt to close the reader before you have read all the rows, the Close operation will retrieve the remaining data from the stream. If there is a significant amount of data left in the stream, this may take long enough to cause a timeout exception.
See Also