TeamFoundationDataReader Constructor (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 object 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 ( _
    disposableObject As IDisposable, _
    ParamArray dataValues As Object() _
)
public TeamFoundationDataReader(
    IDisposable disposableObject,
    params Object[] dataValues
)
public:
TeamFoundationDataReader(
    IDisposable^ disposableObject, 
    ... array<Object^>^ dataValues
)
new : 
        disposableObject:IDisposable * 
        dataValues:Object[] -> TeamFoundationDataReader
public function TeamFoundationDataReader(
    disposableObject : IDisposable, 
    ... dataValues : Object[]
)

Parameters

  • disposableObject
    Type: System.IDisposable

    Resource needed by the data objects which should be disposed when the reader is disposed or finalized

  • dataValues
    Type: array<System.Object[]

    Variable number of data objects

.NET Framework Security

See Also

Reference

TeamFoundationDataReader Class

TeamFoundationDataReader Overload

Microsoft.TeamFoundation.Framework.Server Namespace