public int[] ReadProcessed(
int transactionId,
DateTime startTime,
DateTime endTime,
long resampleInterval,
int[] serverHandles,
uint[] aggregateIds,
out int cancelId)
{
Session session = ThrowIfNotConnected();
// create the read requests.
ReadProcessedDetails details = new ReadProcessedDetails();
List<HdaReadRequest> requests = CreateReadRequests(
session,
startTime,
endTime,
resampleInterval,
serverHandles,
aggregateIds,
details);
// queue the transaction.
int[] errors = CreateTransaction(
TransationType.Read,
transactionId,
new ExtensionObject(details),
requests,
false,
out cancelId);
// return the initial results.
return errors;
}