Method Create
Create(string, float, float, EventCollectionDelegate)
Create a continuous event at a particular frequency, aggregated over a period.
Declaration
public static ContinuousEvents.Event Create(string name, float interval, float period, ContinuousEvents.EventCollectionDelegate collector)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the event. |
float | interval | The interval in which to collect the metric, in seconds. |
float | period | The aggregation period in seconds. |
ContinuousEvents.EventCollectionDelegate | collector | A delegate to collect the metric. |
Returns
Type | Description |
---|---|
ContinuousEvents.Event | A newly constructed Event instance. |