Share via


IDataPointsCollector.Collect Method

Retired Content

This content and the technology described is outdated and is no longer being maintained. For more information about Transient Fault Handling, see Transient Fault Handling.

Collects the data points for the specified collection time.

Namespace: Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.DataPointsCollection
Assembly: Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling (in Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.dll) Version: 5.0.1118.0 (5.0.1118.0)

Syntax

IEnumerable<DataPoint> Collect(
    DateTimeOffset collectionTime
)
'Declaration
Function Collect ( _
    collectionTime As DateTimeOffset _
) As IEnumerable(Of DataPoint)
IEnumerable<DataPoint^>^ Collect(
    DateTimeOffset collectionTime
)

Parameters

Return Value

A list of collected data points.

Remarks

When implementing this interface, the Collect(DateTimeOffset) method should not throw an exception that is not of type DataPointsCollectionException. If other exception is thrown, it will be treated as critical and will be unhandled.

See Also

IDataPointsCollector Interface

Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.DataPointsCollection Namespace