Share via


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

  • dataValues
    Type: array<System.Object[]

    Variable number of results

.NET Framework Security

See Also

Reference

TeamFoundationDataReader Class

TeamFoundationDataReader Overload

Microsoft.TeamFoundation.Framework.Server Namespace