-
Notifications
You must be signed in to change notification settings - Fork 260
/
MetricsCollection.xml
418 lines (418 loc) · 27.1 KB
/
MetricsCollection.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
<Type Name="MetricsCollection" FullName="Microsoft.ApplicationInsights.Metrics.MetricsCollection">
<TypeSignature Language="C#" Value="public sealed class MetricsCollection : System.Collections.Generic.ICollection<Microsoft.ApplicationInsights.Metric>, System.Collections.Generic.IEnumerable<Microsoft.ApplicationInsights.Metric>" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit MetricsCollection extends System.Object implements class System.Collections.Generic.ICollection`1<class Microsoft.ApplicationInsights.Metric>, class System.Collections.Generic.IEnumerable`1<class Microsoft.ApplicationInsights.Metric>, class System.Collections.IEnumerable" />
<TypeSignature Language="DocId" Value="T:Microsoft.ApplicationInsights.Metrics.MetricsCollection" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class MetricsCollection
Implements ICollection(Of Metric), IEnumerable(Of Metric)" />
<TypeSignature Language="F#" Value="type MetricsCollection = class
 interface ICollection<Metric>
 interface seq<Metric>
 interface IEnumerable" />
<AssemblyInfo>
<AssemblyName>Microsoft.ApplicationInsights</AssemblyName>
<AssemblyVersion>2.17.0.146</AssemblyVersion>
<AssemblyVersion>2.18.0.315</AssemblyVersion>
<AssemblyVersion>2.19.0.227</AssemblyVersion>
<AssemblyVersion>2.20.0.103</AssemblyVersion>
<AssemblyVersion>2.21.0.429</AssemblyVersion>
<AssemblyVersion>2.22.0.405</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.Collections.Generic.ICollection<Microsoft.ApplicationInsights.Metric></InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Collections.Generic.IEnumerable<Microsoft.ApplicationInsights.Metric></InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Collections.Generic.IEnumerable<T></InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Collections.IEnumerable</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<summary>A collection of metrics available at a specific scope.
A metric is itself a colection of data time series identified by dimension name-values.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="Clear">
<MemberSignature Language="C#" Value="public void Clear ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Clear() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.ApplicationInsights.Metrics.MetricsCollection.Clear" />
<MemberSignature Language="VB.NET" Value="Public Sub Clear ()" />
<MemberSignature Language="F#" Value="abstract member Clear : unit -> unit
override this.Clear : unit -> unit" Usage="metricsCollection.Clear " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Collections.Generic.ICollection`1.Clear</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.ApplicationInsights</AssemblyName>
<AssemblyVersion>2.21.0.429</AssemblyVersion>
<AssemblyVersion>2.22.0.405</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Removes all metrics from this collection.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Contains">
<MemberSignature Language="C#" Value="public bool Contains (Microsoft.ApplicationInsights.Metric metric);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool Contains(class Microsoft.ApplicationInsights.Metric metric) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.ApplicationInsights.Metrics.MetricsCollection.Contains(Microsoft.ApplicationInsights.Metric)" />
<MemberSignature Language="VB.NET" Value="Public Function Contains (metric As Metric) As Boolean" />
<MemberSignature Language="F#" Value="abstract member Contains : Microsoft.ApplicationInsights.Metric -> bool
override this.Contains : Microsoft.ApplicationInsights.Metric -> bool" Usage="metricsCollection.Contains metric" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Collections.Generic.ICollection`1.Contains(`0)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.ApplicationInsights</AssemblyName>
<AssemblyVersion>2.21.0.429</AssemblyVersion>
<AssemblyVersion>2.22.0.405</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="metric" Type="Microsoft.ApplicationInsights.Metric" />
</Parameters>
<Docs>
<param name="metric">A metric.</param>
<summary>Checks if a metric is present in this collection.</summary>
<returns>
<c>true</c> if the metric exists in this collection, or <c>false</c> otherwise.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Contains">
<MemberSignature Language="C#" Value="public bool Contains (Microsoft.ApplicationInsights.Metrics.MetricIdentifier metricIdentifier);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool Contains(class Microsoft.ApplicationInsights.Metrics.MetricIdentifier metricIdentifier) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.ApplicationInsights.Metrics.MetricsCollection.Contains(Microsoft.ApplicationInsights.Metrics.MetricIdentifier)" />
<MemberSignature Language="VB.NET" Value="Public Function Contains (metricIdentifier As MetricIdentifier) As Boolean" />
<MemberSignature Language="F#" Value="member this.Contains : Microsoft.ApplicationInsights.Metrics.MetricIdentifier -> bool" Usage="metricsCollection.Contains metricIdentifier" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.ApplicationInsights</AssemblyName>
<AssemblyVersion>2.21.0.429</AssemblyVersion>
<AssemblyVersion>2.22.0.405</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="metricIdentifier" Type="Microsoft.ApplicationInsights.Metrics.MetricIdentifier" />
</Parameters>
<Docs>
<param name="metricIdentifier">A metric identity.</param>
<summary>Checks if a metric with th specified identity is present in this collection.</summary>
<returns>
<c>true</c> if a metric with the specified exists in this collection, or <c>false</c> otherwise.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CopyTo">
<MemberSignature Language="C#" Value="public void CopyTo (Microsoft.ApplicationInsights.Metric[] array, int arrayIndex);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void CopyTo(class Microsoft.ApplicationInsights.Metric[] array, int32 arrayIndex) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.ApplicationInsights.Metrics.MetricsCollection.CopyTo(Microsoft.ApplicationInsights.Metric[],System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Sub CopyTo (array As Metric(), arrayIndex As Integer)" />
<MemberSignature Language="F#" Value="abstract member CopyTo : Microsoft.ApplicationInsights.Metric[] * int -> unit
override this.CopyTo : Microsoft.ApplicationInsights.Metric[] * int -> unit" Usage="metricsCollection.CopyTo (array, arrayIndex)" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Collections.Generic.ICollection`1.CopyTo(`0[],System.Int32)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.ApplicationInsights</AssemblyName>
<AssemblyVersion>2.21.0.429</AssemblyVersion>
<AssemblyVersion>2.22.0.405</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="array" Type="Microsoft.ApplicationInsights.Metric[]" />
<Parameter Name="arrayIndex" Type="System.Int32" />
</Parameters>
<Docs>
<param name="array">An artay.</param>
<param name="arrayIndex">Array index where to start the copy.</param>
<summary>Copies the contents of this collection to the specified array.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Count">
<MemberSignature Language="C#" Value="public int Count { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 Count" />
<MemberSignature Language="DocId" Value="P:Microsoft.ApplicationInsights.Metrics.MetricsCollection.Count" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Count As Integer" />
<MemberSignature Language="F#" Value="member this.Count : int" Usage="Microsoft.ApplicationInsights.Metrics.MetricsCollection.Count" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:System.Collections.Generic.ICollection`1.Count</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.ApplicationInsights</AssemblyName>
<AssemblyVersion>2.21.0.429</AssemblyVersion>
<AssemblyVersion>2.22.0.405</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the number of metrics in this collection.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetEnumerator">
<MemberSignature Language="C#" Value="public System.Collections.Generic.IEnumerator<Microsoft.ApplicationInsights.Metric> GetEnumerator ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Collections.Generic.IEnumerator`1<class Microsoft.ApplicationInsights.Metric> GetEnumerator() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.ApplicationInsights.Metrics.MetricsCollection.GetEnumerator" />
<MemberSignature Language="VB.NET" Value="Public Function GetEnumerator () As IEnumerator(Of Metric)" />
<MemberSignature Language="F#" Value="abstract member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<Microsoft.ApplicationInsights.Metric>
override this.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<Microsoft.ApplicationInsights.Metric>" Usage="metricsCollection.GetEnumerator " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Collections.Generic.IEnumerable`1.GetEnumerator</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.ApplicationInsights</AssemblyName>
<AssemblyVersion>2.21.0.429</AssemblyVersion>
<AssemblyVersion>2.22.0.405</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.Generic.IEnumerator<Microsoft.ApplicationInsights.Metric></ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Gets an enumerator for this collection.</summary>
<returns>An enumerator for this collection.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetOrCreate">
<MemberSignature Language="C#" Value="public Microsoft.ApplicationInsights.Metric GetOrCreate (Microsoft.ApplicationInsights.Metrics.MetricIdentifier metricIdentifier, Microsoft.ApplicationInsights.Metrics.MetricConfiguration metricConfiguration);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class Microsoft.ApplicationInsights.Metric GetOrCreate(class Microsoft.ApplicationInsights.Metrics.MetricIdentifier metricIdentifier, class Microsoft.ApplicationInsights.Metrics.MetricConfiguration metricConfiguration) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.ApplicationInsights.Metrics.MetricsCollection.GetOrCreate(Microsoft.ApplicationInsights.Metrics.MetricIdentifier,Microsoft.ApplicationInsights.Metrics.MetricConfiguration)" />
<MemberSignature Language="VB.NET" Value="Public Function GetOrCreate (metricIdentifier As MetricIdentifier, metricConfiguration As MetricConfiguration) As Metric" />
<MemberSignature Language="F#" Value="member this.GetOrCreate : Microsoft.ApplicationInsights.Metrics.MetricIdentifier * Microsoft.ApplicationInsights.Metrics.MetricConfiguration -> Microsoft.ApplicationInsights.Metric" Usage="metricsCollection.GetOrCreate (metricIdentifier, metricConfiguration)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.ApplicationInsights</AssemblyName>
<AssemblyVersion>2.21.0.429</AssemblyVersion>
<AssemblyVersion>2.22.0.405</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.ApplicationInsights.Metric</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="metricIdentifier" Type="Microsoft.ApplicationInsights.Metrics.MetricIdentifier" />
<Parameter Name="metricConfiguration" Type="Microsoft.ApplicationInsights.Metrics.MetricConfiguration" />
</Parameters>
<Docs>
<param name="metricIdentifier">The identity of the metric.</param>
<param name="metricConfiguration">@The configutration of the metric.</param>
<summary>Gets the specified metric, or creates one if no such metric exists.</summary>
<returns>A metric with the specified identify and configuration.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentException">If a metric with the specified identify exists,
but its configuration does not match the specified configuration.
You may not change a metric configurations once a metric was created for the first time.
Either specify the same configuration every time, or specify <c>null</c> during every
invocation except the first one. <c>null</c> will match against any previously specified
configuration when retrieving existing metrics, or fall back to the default when
creating new metrics.</exception>
</Docs>
</Member>
<Member MemberName="IsReadOnly">
<MemberSignature Language="C#" Value="public bool IsReadOnly { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsReadOnly" />
<MemberSignature Language="DocId" Value="P:Microsoft.ApplicationInsights.Metrics.MetricsCollection.IsReadOnly" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property IsReadOnly As Boolean" />
<MemberSignature Language="F#" Value="member this.IsReadOnly : bool" Usage="Microsoft.ApplicationInsights.Metrics.MetricsCollection.IsReadOnly" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:System.Collections.Generic.ICollection`1.IsReadOnly</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.ApplicationInsights</AssemblyName>
<AssemblyVersion>2.21.0.429</AssemblyVersion>
<AssemblyVersion>2.22.0.405</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a value indicating whether this collection is read-only. It is not.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Remove">
<MemberSignature Language="C#" Value="public bool Remove (Microsoft.ApplicationInsights.Metric metric);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool Remove(class Microsoft.ApplicationInsights.Metric metric) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.ApplicationInsights.Metrics.MetricsCollection.Remove(Microsoft.ApplicationInsights.Metric)" />
<MemberSignature Language="VB.NET" Value="Public Function Remove (metric As Metric) As Boolean" />
<MemberSignature Language="F#" Value="abstract member Remove : Microsoft.ApplicationInsights.Metric -> bool
override this.Remove : Microsoft.ApplicationInsights.Metric -> bool" Usage="metricsCollection.Remove metric" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Collections.Generic.ICollection`1.Remove(`0)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.ApplicationInsights</AssemblyName>
<AssemblyVersion>2.21.0.429</AssemblyVersion>
<AssemblyVersion>2.22.0.405</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="metric" Type="Microsoft.ApplicationInsights.Metric" />
</Parameters>
<Docs>
<param name="metric">A metric.</param>
<summary>Removes the specified metric from this collection.</summary>
<returns>Whether the metric was found and removed.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Remove">
<MemberSignature Language="C#" Value="public bool Remove (Microsoft.ApplicationInsights.Metrics.MetricIdentifier metricIdentifier);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool Remove(class Microsoft.ApplicationInsights.Metrics.MetricIdentifier metricIdentifier) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.ApplicationInsights.Metrics.MetricsCollection.Remove(Microsoft.ApplicationInsights.Metrics.MetricIdentifier)" />
<MemberSignature Language="VB.NET" Value="Public Function Remove (metricIdentifier As MetricIdentifier) As Boolean" />
<MemberSignature Language="F#" Value="member this.Remove : Microsoft.ApplicationInsights.Metrics.MetricIdentifier -> bool" Usage="metricsCollection.Remove metricIdentifier" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.ApplicationInsights</AssemblyName>
<AssemblyVersion>2.21.0.429</AssemblyVersion>
<AssemblyVersion>2.22.0.405</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="metricIdentifier" Type="Microsoft.ApplicationInsights.Metrics.MetricIdentifier" />
</Parameters>
<Docs>
<param name="metricIdentifier">A metric identifier.</param>
<summary>Removes a metric with the specified identity from this collection.</summary>
<returns>Whether the metric was found and removed.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Remove">
<MemberSignature Language="C#" Value="public bool Remove (Microsoft.ApplicationInsights.Metrics.MetricIdentifier metricIdentifier, out Microsoft.ApplicationInsights.Metric removedMetric);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool Remove(class Microsoft.ApplicationInsights.Metrics.MetricIdentifier metricIdentifier, [out] class Microsoft.ApplicationInsights.Metric& removedMetric) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.ApplicationInsights.Metrics.MetricsCollection.Remove(Microsoft.ApplicationInsights.Metrics.MetricIdentifier,Microsoft.ApplicationInsights.Metric@)" />
<MemberSignature Language="VB.NET" Value="Public Function Remove (metricIdentifier As MetricIdentifier, ByRef removedMetric As Metric) As Boolean" />
<MemberSignature Language="F#" Value="member this.Remove : Microsoft.ApplicationInsights.Metrics.MetricIdentifier * Metric -> bool" Usage="metricsCollection.Remove (metricIdentifier, removedMetric)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.ApplicationInsights</AssemblyName>
<AssemblyVersion>2.21.0.429</AssemblyVersion>
<AssemblyVersion>2.22.0.405</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="metricIdentifier" Type="Microsoft.ApplicationInsights.Metrics.MetricIdentifier" />
<Parameter Name="removedMetric" Type="Microsoft.ApplicationInsights.Metric" RefType="out" />
</Parameters>
<Docs>
<param name="metricIdentifier">A metric identifier.</param>
<param name="removedMetric">The metric that was removed or <c>null</c>.</param>
<summary>Removes a metric with the specified identity from this collection.</summary>
<returns>Whether the metric was found and removed.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="System.Collections.Generic.ICollection<Microsoft.ApplicationInsights.Metric>.Add">
<MemberSignature Language="C#" Value="void ICollection<Metric>.Add (Microsoft.ApplicationInsights.Metric unsupported);" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.Collections.Generic.ICollection<Microsoft.ApplicationInsights.Metric>.Add(class Microsoft.ApplicationInsights.Metric unsupported) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.ApplicationInsights.Metrics.MetricsCollection.System#Collections#Generic#ICollection<Microsoft#ApplicationInsights#Metric>#Add(Microsoft.ApplicationInsights.Metric)" />
<MemberSignature Language="VB.NET" Value="Sub Add (unsupported As Metric) Implements ICollection(Of Metric).Add" />
<MemberSignature Language="F#" Value="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" Usage="metricsCollection.System.Collections.Generic.ICollection<Microsoft.ApplicationInsights.Metric>.Add unsupported" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Collections.Generic.ICollection`1.Add(`0)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.ApplicationInsights</AssemblyName>
<AssemblyVersion>2.21.0.429</AssemblyVersion>
<AssemblyVersion>2.22.0.405</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="unsupported" Type="Microsoft.ApplicationInsights.Metric" />
</Parameters>
<Docs>
<param name="unsupported">Ignored.</param>
<summary>
The Add(..) method is not supported. To add a new metric, use the GetOrCreate(..) method.
</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.NotSupportedException">Is always thrown.</exception>
</Docs>
</Member>
<Member MemberName="System.Collections.IEnumerable.GetEnumerator">
<MemberSignature Language="C#" Value="System.Collections.IEnumerator IEnumerable.GetEnumerator ();" />
<MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance class System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.ApplicationInsights.Metrics.MetricsCollection.System#Collections#IEnumerable#GetEnumerator" />
<MemberSignature Language="VB.NET" Value="Function GetEnumerator () As IEnumerator Implements IEnumerable.GetEnumerator" />
<MemberSignature Language="F#" Value="abstract member System.Collections.IEnumerable.GetEnumerator : unit -> System.Collections.IEnumerator
override this.System.Collections.IEnumerable.GetEnumerator : unit -> System.Collections.IEnumerator" Usage="metricsCollection.System.Collections.IEnumerable.GetEnumerator " />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.Collections.IEnumerable.GetEnumerator</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>Microsoft.ApplicationInsights</AssemblyName>
<AssemblyVersion>2.21.0.429</AssemblyVersion>
<AssemblyVersion>2.22.0.405</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.IEnumerator</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Gets an enumerator for this collection.</summary>
<returns>An enumerator for this collection.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="TryGet">
<MemberSignature Language="C#" Value="public bool TryGet (Microsoft.ApplicationInsights.Metrics.MetricIdentifier metricIdentifier, out Microsoft.ApplicationInsights.Metric metric);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool TryGet(class Microsoft.ApplicationInsights.Metrics.MetricIdentifier metricIdentifier, [out] class Microsoft.ApplicationInsights.Metric& metric) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.ApplicationInsights.Metrics.MetricsCollection.TryGet(Microsoft.ApplicationInsights.Metrics.MetricIdentifier,Microsoft.ApplicationInsights.Metric@)" />
<MemberSignature Language="VB.NET" Value="Public Function TryGet (metricIdentifier As MetricIdentifier, ByRef metric As Metric) As Boolean" />
<MemberSignature Language="F#" Value="member this.TryGet : Microsoft.ApplicationInsights.Metrics.MetricIdentifier * Metric -> bool" Usage="metricsCollection.TryGet (metricIdentifier, metric)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.ApplicationInsights</AssemblyName>
<AssemblyVersion>2.21.0.429</AssemblyVersion>
<AssemblyVersion>2.22.0.405</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="metricIdentifier" Type="Microsoft.ApplicationInsights.Metrics.MetricIdentifier" />
<Parameter Name="metric" Type="Microsoft.ApplicationInsights.Metric" RefType="out" />
</Parameters>
<Docs>
<param name="metricIdentifier">A metric identity.</param>
<param name="metric">The metric (if it exists) or <c>null</c>.</param>
<summary>Gets the metric with the specified identify, if it exists.</summary>
<returns>
<c>true</c> if the metric was retrieved, or <c>false</c> otherwise.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>