ResultCollection Class
Represents a collection of results returned from the database.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Framework.Server.ResultCollection
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Class ResultCollection _
Implements IDisposable
public class ResultCollection : IDisposable
public ref class ResultCollection : IDisposable
type ResultCollection =
class
interface IDisposable
end
public class ResultCollection implements IDisposable
The ResultCollection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
ResultCollection(IDataReader, String, TeamFoundationRequestContext) | |
![]() |
ResultCollection(IDataReader, Int32, String, SqlExceptionHandler, TeamFoundationRequestContext) |
Top
Properties
Name | Description | |
---|---|---|
![]() |
RequestContext |
Top
Methods
Name | Description | |
---|---|---|
![]() |
AddBinder<T> | Adds an ObjectBinder to the list |
![]() |
Dispose | Disposes associated Data Reader object |
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
Finalize | (Overrides Object.Finalize().) |
![]() |
GetCurrent() | Gets the current object binder without casting it. |
![]() |
GetCurrent<T>() | Gets the current object binder |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
IncrementRowCounter | Increments the row counter |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
NextResult | Moves to the next result in the collection Throws an UnexpectedDatabaseResult exception if there is no other result |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() |
TryNextResult |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.