aggregate
Execute an aggregate pipeline on the remote collection.
Return
the result of the remote aggregate
invocation deserialized into a list of T-instances.
Parameters
pipeline
a list of aggregation pipeline stages.
Throws
if the underlying App Service HTTP requests fails.
SerializationException
if App Service response could not be deserialized to List<T>
.