MetricsCollection.ICollection<Metric>.Add(Metric) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET