StreamingCollection<T> Constructor (Command, Int32)
The StreamingCollection constructor that associates this collection to a command that is used to fill the collection with data. This will allow the collection to stream partial data and use the Commands ContinueExecution method data to retrieve that data as it needs it.The estimated cache size of the object
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub New ( _
command As Command, _
cachedSize As Integer _
)
public StreamingCollection(
Command command,
int cachedSize
)
public:
StreamingCollection(
Command^ command,
int cachedSize
)
new :
command:Command *
cachedSize:int -> StreamingCollection
public function StreamingCollection(
command : Command,
cachedSize : int
)
Parameters
- command
Type: Microsoft.TeamFoundation.Framework.Server.Command
- cachedSize
Type: System.Int32
.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.