MetricsCollection.ICollection<Metric>.Add(Metric) Method

Definition

The Add(..) method is not supported. To add a new metric, use the GetOrCreate(..) method.

void ICollection<Metric>.Add (Microsoft.ApplicationInsights.Metric unsupported);
abstract member System.Collections.Generic.ICollection<Microsoft.ApplicationInsights.Metric>.Add : Microsoft.ApplicationInsights.Metric -> unit
override this.System.Collections.Generic.ICollection<Microsoft.ApplicationInsights.Metric>.Add : Microsoft.ApplicationInsights.Metric -> unit
Sub Add (unsupported As Metric) Implements ICollection(Of Metric).Add

Parameters

unsupported
Metric

Ignored.

Implements

Exceptions

Is always thrown.

Applies to