TeamFoundationDataReader Constructor (IEnumerable<IDisposable>, array<Object )
Creates a new data reader for the given set of results. The order of the parameters if the order which the results will be accessed and read through the data reader.
The given disposable objects will be disposed together with the reader, which occurs either when the reader is disposed or when it is finalized.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub New ( _
disposableObjects As IEnumerable(Of IDisposable), _
ParamArray dataValues As Object() _
)
public TeamFoundationDataReader(
IEnumerable<IDisposable> disposableObjects,
params Object[] dataValues
)
public:
TeamFoundationDataReader(
IEnumerable<IDisposable^>^ disposableObjects,
... array<Object^>^ dataValues
)
new :
disposableObjects:IEnumerable<IDisposable> *
dataValues:Object[] -> TeamFoundationDataReader
public function TeamFoundationDataReader(
disposableObjects : IEnumerable<IDisposable>,
... dataValues : Object[]
)
Parameters
disposableObjects
Type: System.Collections.Generic.IEnumerable<IDisposable>Resources needed by the data objects which should be disposed when the reader is disposed or finalized
dataValues
Type: array<System.Object[]Variable number of results
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
TeamFoundationDataReader Class