/
RuleSettings.xml
661 lines (578 loc) · 41.6 KB
/
RuleSettings.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
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
<Type Name="RuleSettings" FullName="System.Web.Configuration.RuleSettings">
<TypeSignature Language="C#" Value="public sealed class RuleSettings : System.Configuration.ConfigurationElement" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed RuleSettings extends System.Configuration.ConfigurationElement" />
<TypeSignature Language="DocId" Value="T:System.Web.Configuration.RuleSettings" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class RuleSettings
Inherits ConfigurationElement" />
<TypeSignature Language="F#" Value="type RuleSettings = class
 inherit ConfigurationElement" />
<TypeSignature Language="C++ CLI" Value="public ref class RuleSettings sealed : System::Configuration::ConfigurationElement" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Configuration.ConfigurationElement</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Configures the ASP.NET event rules. This class cannot be inherited.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Event rules determine which event, using which profile, is fired to which provider.
## Examples
The following configuration file excerpt shows how to declaratively specify the properties of the <xref:System.Web.Configuration.RuleSettings> class.
```
<healthMonitoring>
<rules>
<add name="All Errors Default"
eventName="All Errors"
provider="EventLogProvider"
profile="Default"
minInterval="00:01:00"
/>
<add name="All Audits Default"
eventName="All Audits"
provider="SqlWebEventProvider"
profile="Default"
minInterval="00:00:30"
/>
<add name="Failure Audits Default"
eventName="Failure Audits"
provider="WmiWebEventProvider"
profile="Critical"
minInterval="00:00:30"
/>
<add name="Request Processing Errors"
eventName="Request Processing Errors"
provider="CriticalMailEventProvider"
profile="Default"
/>
<add name="Infrastructure Notifications"
eventName="Infrastructure Errors"
provider="CriticalMailEventProvider"
profile="Critical"
/>
</rules>
</healthMonitoring>
```
The following code example shows how to create and set the values of the <xref:System.Web.Configuration.RuleSettings> type. This code example is part of a larger example provided for the <xref:System.Web.Configuration.HealthMonitoringSection> class.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/CS/healthmonitoringsection.cs" id="Snippet73":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/VB/healthmonitoringsection.vb" id="Snippet73":::
The following code example shows how to get and display the values of the <xref:System.Web.Configuration.RuleSettings> type. This code example is part of a larger example provided for the <xref:System.Web.Configuration.HealthMonitoringSection> class.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/CS/healthmonitoringsection.cs" id="Snippet78":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/VB/healthmonitoringsection.vb" id="Snippet78":::
]]></format>
</remarks>
<altmember cref="T:System.Web.Configuration.HealthMonitoringSection" />
</Docs>
<Members>
<MemberGroup MemberName=".ctor">
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Web.Configuration.RuleSettings" /> class.</summary>
<altmember cref="T:System.Web.Configuration.HealthMonitoringSection" />
<altmember cref="T:System.Web.Configuration.RuleSettings" />
</Docs>
</MemberGroup>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public RuleSettings (string name, string eventName, string provider);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string name, string eventName, string provider) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.Configuration.RuleSettings.#ctor(System.String,System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (name As String, eventName As String, provider As String)" />
<MemberSignature Language="F#" Value="new System.Web.Configuration.RuleSettings : string * string * string -> System.Web.Configuration.RuleSettings" Usage="new System.Web.Configuration.RuleSettings (name, eventName, provider)" />
<MemberSignature Language="C++ CLI" Value="public:
 RuleSettings(System::String ^ name, System::String ^ eventName, System::String ^ provider);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="eventName" Type="System.String" />
<Parameter Name="provider" Type="System.String" />
</Parameters>
<Docs>
<param name="name">The name of the <see cref="T:System.Web.Configuration.RuleSettings" /> object to create.</param>
<param name="eventName">The name of the <see cref="T:System.Web.Configuration.EventMappingSettings" /> object this rule applies to.</param>
<param name="provider">The name of the <see cref="T:System.Configuration.ProviderSettings" /> object this rule applies to.</param>
<summary>Initializes a new instance of the <see cref="T:System.Web.Configuration.RuleSettings" /> class using default settings; however, the name, event name, and provider are specified.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The following table shows the default settings that are used for this constructor.
|Property|Default value|
|--------------|-------------------|
|<xref:System.Web.Configuration.RuleSettings.Custom%2A>|An empty string ("").|
|<xref:System.Web.Configuration.RuleSettings.MaxLimit%2A>|<xref:System.Int32.MaxValue>.|
|<xref:System.Web.Configuration.RuleSettings.MinInstances%2A>|1.|
|<xref:System.Web.Configuration.RuleSettings.MinInterval%2A>|0 ticks.|
|<xref:System.Web.Configuration.RuleSettings.Profile%2A>|An empty string ("").|
## Examples
The following code example shows how to use the <xref:System.Web.Configuration.RuleSettings.%23ctor%2A> constructor. This code example is part of a larger example provided for the <xref:System.Web.Configuration.HealthMonitoringSection> class.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/CS/healthmonitoringsection.cs" id="Snippet74":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/VB/healthmonitoringsection.vb" id="Snippet74":::
]]></format>
</remarks>
<altmember cref="T:System.Web.Configuration.HealthMonitoringSection" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public RuleSettings (string name, string eventName, string provider, string profile, int minInstances, int maxLimit, TimeSpan minInterval);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string name, string eventName, string provider, string profile, int32 minInstances, int32 maxLimit, valuetype System.TimeSpan minInterval) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.Configuration.RuleSettings.#ctor(System.String,System.String,System.String,System.String,System.Int32,System.Int32,System.TimeSpan)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (name As String, eventName As String, provider As String, profile As String, minInstances As Integer, maxLimit As Integer, minInterval As TimeSpan)" />
<MemberSignature Language="F#" Value="new System.Web.Configuration.RuleSettings : string * string * string * string * int * int * TimeSpan -> System.Web.Configuration.RuleSettings" Usage="new System.Web.Configuration.RuleSettings (name, eventName, provider, profile, minInstances, maxLimit, minInterval)" />
<MemberSignature Language="C++ CLI" Value="public:
 RuleSettings(System::String ^ name, System::String ^ eventName, System::String ^ provider, System::String ^ profile, int minInstances, int maxLimit, TimeSpan minInterval);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="eventName" Type="System.String" />
<Parameter Name="provider" Type="System.String" />
<Parameter Name="profile" Type="System.String" />
<Parameter Name="minInstances" Type="System.Int32" />
<Parameter Name="maxLimit" Type="System.Int32" />
<Parameter Name="minInterval" Type="System.TimeSpan" />
</Parameters>
<Docs>
<param name="name">The name of the <see cref="T:System.Web.Configuration.RuleSettings" /> object to create.</param>
<param name="eventName">The name of the <see cref="T:System.Web.Configuration.EventMappingSettings" /> object this rule applies to.</param>
<param name="provider">The name of the <see cref="T:System.Configuration.ProviderSettings" /> object this rule applies to.</param>
<param name="profile">The name of the <see cref="T:System.Web.Configuration.ProfileSettings" /> object this rule applies to.</param>
<param name="minInstances">The minimum number of occurrences of the same type of event that can occur before the event is raised to the provider.</param>
<param name="maxLimit">The maximum number of times events of the same type can be raised.</param>
<param name="minInterval">The minimum time interval between two events of the same type.</param>
<summary>Initializes a new instance of the <see cref="T:System.Web.Configuration.RuleSettings" /> class where all values except those of the <see cref="P:System.Web.Configuration.RuleSettings.Custom" /> class are specified.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The following table shows the default settings that are used for this constructor.
|Property|Default value|
|--------------|-------------------|
|<xref:System.Web.Configuration.RuleSettings.Custom%2A>|An empty string ("").|
## Examples
The following code example shows how to use the <xref:System.Web.Configuration.RuleSettings.%23ctor%2A> constructor. This code example is part of a larger example provided for the <xref:System.Web.Configuration.HealthMonitoringSection> class.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/CS/healthmonitoringsection.cs" id="Snippet75":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/VB/healthmonitoringsection.vb" id="Snippet75":::
]]></format>
</remarks>
<altmember cref="T:System.Web.Configuration.HealthMonitoringSection" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public RuleSettings (string name, string eventName, string provider, string profile, int minInstances, int maxLimit, TimeSpan minInterval, string custom);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string name, string eventName, string provider, string profile, int32 minInstances, int32 maxLimit, valuetype System.TimeSpan minInterval, string custom) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.Configuration.RuleSettings.#ctor(System.String,System.String,System.String,System.String,System.Int32,System.Int32,System.TimeSpan,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (name As String, eventName As String, provider As String, profile As String, minInstances As Integer, maxLimit As Integer, minInterval As TimeSpan, custom As String)" />
<MemberSignature Language="F#" Value="new System.Web.Configuration.RuleSettings : string * string * string * string * int * int * TimeSpan * string -> System.Web.Configuration.RuleSettings" Usage="new System.Web.Configuration.RuleSettings (name, eventName, provider, profile, minInstances, maxLimit, minInterval, custom)" />
<MemberSignature Language="C++ CLI" Value="public:
 RuleSettings(System::String ^ name, System::String ^ eventName, System::String ^ provider, System::String ^ profile, int minInstances, int maxLimit, TimeSpan minInterval, System::String ^ custom);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="eventName" Type="System.String" />
<Parameter Name="provider" Type="System.String" />
<Parameter Name="profile" Type="System.String" />
<Parameter Name="minInstances" Type="System.Int32" />
<Parameter Name="maxLimit" Type="System.Int32" />
<Parameter Name="minInterval" Type="System.TimeSpan" />
<Parameter Name="custom" Type="System.String" />
</Parameters>
<Docs>
<param name="name">The name of the <see cref="T:System.Web.Configuration.RuleSettings" /> object to create.</param>
<param name="eventName">The name of the <see cref="T:System.Web.Configuration.EventMappingSettings" /> object this rule applies to.</param>
<param name="provider">The name of the <see cref="T:System.Configuration.ProviderSettings" /> object this rule applies to.</param>
<param name="profile">The name of the <see cref="T:System.Web.Configuration.ProfileSettings" /> object this rule applies to.</param>
<param name="minInstances">The minimum number of occurrences of an event of the same type before the event is fired to the provider.</param>
<param name="maxLimit">The maximum number of times events of the same type are fired.</param>
<param name="minInterval">The minimum time interval between two events of the same type.</param>
<param name="custom">The fully qualified type of a custom class that implements <see cref="T:System.Web.Management.IWebEventCustomEvaluator" />.</param>
<summary>Initializes a new instance of the <see cref="T:System.Web.Configuration.BufferModeSettings" /> class where all values are specified.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
You must provide every setting for this constructor.
## Examples
The following code example shows how to use the <xref:System.Web.Configuration.RuleSettings.%23ctor%2A> constructor. This code example is part of a larger example provided for the <xref:System.Web.Configuration.HealthMonitoringSection> class.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/CS/healthmonitoringsection.cs" id="Snippet76":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/VB/healthmonitoringsection.vb" id="Snippet76":::
]]></format>
</remarks>
<altmember cref="T:System.Web.Configuration.HealthMonitoringSection" />
</Docs>
</Member>
<Member MemberName="Custom">
<MemberSignature Language="C#" Value="public string Custom { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Custom" />
<MemberSignature Language="DocId" Value="P:System.Web.Configuration.RuleSettings.Custom" />
<MemberSignature Language="VB.NET" Value="Public Property Custom As String" />
<MemberSignature Language="F#" Value="member this.Custom : string with get, set" Usage="System.Web.Configuration.RuleSettings.Custom" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ Custom { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Configuration.ConfigurationProperty("custom", DefaultValue="")]</AttributeName>
<AttributeName Language="F#">[<System.Configuration.ConfigurationProperty("custom", DefaultValue="")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the fully qualified type of a custom class that implements <see cref="T:System.Web.Management.IWebEventCustomEvaluator" />.</summary>
<value>The fully qualified type of a custom class that implements <see cref="T:System.Web.Management.IWebEventCustomEvaluator" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The type reference is formed as follows (items in brackets are not required): *Namespace*.*Typename*, *Assemblyname*[,] [Version=x,] [Culture=y,] [PublicKeyToken=z]. For example, "ExampleNameSpace.ExampleType, Example.Assembly, Version=%ASSEMBLY_VERSION%, Culture=neutral, PublicKeyToken=%MICROSOFT_PUBLICKEY%"
## Examples
The following code example shows how to use the <xref:System.Web.Configuration.RuleSettings.Custom%2A> property. This code example is part of a larger example provided for the <xref:System.Web.Configuration.HealthMonitoringSection> class.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/CS/healthmonitoringsection.cs" id="Snippet92":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/VB/healthmonitoringsection.vb" id="Snippet92":::
]]></format>
</remarks>
<altmember cref="T:System.Web.Configuration.HealthMonitoringSection" />
</Docs>
</Member>
<Member MemberName="EventName">
<MemberSignature Language="C#" Value="public string EventName { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string EventName" />
<MemberSignature Language="DocId" Value="P:System.Web.Configuration.RuleSettings.EventName" />
<MemberSignature Language="VB.NET" Value="Public Property EventName As String" />
<MemberSignature Language="F#" Value="member this.EventName : string with get, set" Usage="System.Web.Configuration.RuleSettings.EventName" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ EventName { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Configuration.ConfigurationProperty("eventName", DefaultValue="", IsRequired=true)]</AttributeName>
<AttributeName Language="F#">[<System.Configuration.ConfigurationProperty("eventName", DefaultValue="", IsRequired=true)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the name of the <see cref="T:System.Web.Configuration.EventMappingSettings" /> object this rule applies to.</summary>
<value>The name of the <see cref="T:System.Web.Configuration.EventMappingSettings" /> object this rule applies to.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.Configuration.EventMappingSettings> object referenced by this property must be contained by the same <xref:System.Web.Configuration.HealthMonitoringSection> object that also contains this <xref:System.Web.Configuration.RuleSettings>
object.
## Examples
The following code example shows how to use the <xref:System.Web.Configuration.RuleSettings.EventName%2A> property. This code example is part of a larger example provided for the <xref:System.Web.Configuration.HealthMonitoringSection> class.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/CS/healthmonitoringsection.cs" id="Snippet86":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/VB/healthmonitoringsection.vb" id="Snippet86":::
]]></format>
</remarks>
<altmember cref="T:System.Web.Configuration.HealthMonitoringSection" />
<altmember cref="T:System.Web.Configuration.EventMappingSettings" />
</Docs>
</Member>
<Member MemberName="MaxLimit">
<MemberSignature Language="C#" Value="public int MaxLimit { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 MaxLimit" />
<MemberSignature Language="DocId" Value="P:System.Web.Configuration.RuleSettings.MaxLimit" />
<MemberSignature Language="VB.NET" Value="Public Property MaxLimit As Integer" />
<MemberSignature Language="F#" Value="member this.MaxLimit : int with get, set" Usage="System.Web.Configuration.RuleSettings.MaxLimit" />
<MemberSignature Language="C++ CLI" Value="public:
 property int MaxLimit { int get(); void set(int value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteIntConverter))]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteIntConverter))>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Configuration.ConfigurationProperty("maxLimit", DefaultValue=2147483647)]</AttributeName>
<AttributeName Language="F#">[<System.Configuration.ConfigurationProperty("maxLimit", DefaultValue=2147483647)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Configuration.IntegerValidator(MinValue=0)]</AttributeName>
<AttributeName Language="F#">[<System.Configuration.IntegerValidator(MinValue=0)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the maximum number of times events of the same type are raised.</summary>
<value>The maximum number of times events of the same type are raised. The default value is <see cref="F:System.Int32.MaxValue">Int32.MaxValue</see>.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This property must have a value greater than zero. Invalid values may cause an exception to be thrown when the configuration section is saved.
This represents the maximum number of times an event of the same type will be raised. For example, if the value is `10`, then the event will be raised 10 times and ignored thereafter.
## Examples
The following code example shows how to use the <xref:System.Web.Configuration.RuleSettings.MaxLimit%2A> property. This code example is part of a larger example provided for the <xref:System.Web.Configuration.HealthMonitoringSection> class.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/CS/healthmonitoringsection.cs" id="Snippet89":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/VB/healthmonitoringsection.vb" id="Snippet89":::
]]></format>
</remarks>
<altmember cref="T:System.Web.Configuration.HealthMonitoringSection" />
</Docs>
</Member>
<Member MemberName="MinInstances">
<MemberSignature Language="C#" Value="public int MinInstances { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 MinInstances" />
<MemberSignature Language="DocId" Value="P:System.Web.Configuration.RuleSettings.MinInstances" />
<MemberSignature Language="VB.NET" Value="Public Property MinInstances As Integer" />
<MemberSignature Language="F#" Value="member this.MinInstances : int with get, set" Usage="System.Web.Configuration.RuleSettings.MinInstances" />
<MemberSignature Language="C++ CLI" Value="public:
 property int MinInstances { int get(); void set(int value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Configuration.ConfigurationProperty("minInstances", DefaultValue=1)]</AttributeName>
<AttributeName Language="F#">[<System.Configuration.ConfigurationProperty("minInstances", DefaultValue=1)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Configuration.IntegerValidator(MinValue=1)]</AttributeName>
<AttributeName Language="F#">[<System.Configuration.IntegerValidator(MinValue=1)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the minimum number of occurrences of the same type of event before the event is raised to the provider.</summary>
<value>The minimum number of occurrences of the same type of event before the event is raised to the provider. The default value is 1.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This property must have a value greater than zero. Invalid values may cause an exception to be thrown when the configuration section is saved.
This represents the minimum number of times an event occurs before an event is raised to the provider. For example, if the return value is `5`, then ASP.NET will not raise an event to the provider until the fifth instance of the event occurs.
## Examples
The following code example shows how to use the <xref:System.Web.Configuration.RuleSettings.MinInstances%2A> property. This code example is part of a larger example provided for the <xref:System.Web.Configuration.HealthMonitoringSection> class.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/CS/healthmonitoringsection.cs" id="Snippet90":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/VB/healthmonitoringsection.vb" id="Snippet90":::
]]></format>
</remarks>
<altmember cref="T:System.Web.Configuration.HealthMonitoringSection" />
</Docs>
</Member>
<Member MemberName="MinInterval">
<MemberSignature Language="C#" Value="public TimeSpan MinInterval { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.TimeSpan MinInterval" />
<MemberSignature Language="DocId" Value="P:System.Web.Configuration.RuleSettings.MinInterval" />
<MemberSignature Language="VB.NET" Value="Public Property MinInterval As TimeSpan" />
<MemberSignature Language="F#" Value="member this.MinInterval : TimeSpan with get, set" Usage="System.Web.Configuration.RuleSettings.MinInterval" />
<MemberSignature Language="C++ CLI" Value="public:
 property TimeSpan MinInterval { TimeSpan get(); void set(TimeSpan value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteTimeSpanConverter))]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteTimeSpanConverter))>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Configuration.ConfigurationProperty("minInterval", DefaultValue="00:00:00")]</AttributeName>
<AttributeName Language="F#">[<System.Configuration.ConfigurationProperty("minInterval", DefaultValue="00:00:00")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.TimeSpan</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the minimum time interval between two events of the same type.</summary>
<value>The minimum time interval between two events of the same type. The default value is 0 ticks.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The value can be made infinite by setting it to <xref:System.Int32.MaxValue>. Invalid values may cause an exception to be thrown when the configuration section is saved.
If the value is zero, then there is no minimum interval.
## Examples
The following code example shows how to use the <xref:System.Web.Configuration.RuleSettings.MinInterval%2A> property. This code example is part of a larger example provided for the <xref:System.Web.Configuration.HealthMonitoringSection> class.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/CS/healthmonitoringsection.cs" id="Snippet91":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/VB/healthmonitoringsection.vb" id="Snippet91":::
]]></format>
</remarks>
<altmember cref="T:System.Web.Configuration.HealthMonitoringSection" />
</Docs>
</Member>
<Member MemberName="Name">
<MemberSignature Language="C#" Value="public string Name { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Name" />
<MemberSignature Language="DocId" Value="P:System.Web.Configuration.RuleSettings.Name" />
<MemberSignature Language="VB.NET" Value="Public Property Name As String" />
<MemberSignature Language="F#" Value="member this.Name : string with get, set" Usage="System.Web.Configuration.RuleSettings.Name" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Configuration.ConfigurationProperty("name", DefaultValue="", IsKey=true, IsRequired=true)]</AttributeName>
<AttributeName Language="F#">[<System.Configuration.ConfigurationProperty("name", DefaultValue="", IsKey=true, IsRequired=true)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Configuration.StringValidator(MinLength=1)]</AttributeName>
<AttributeName Language="F#">[<System.Configuration.StringValidator(MinLength=1)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the name of the <see cref="T:System.Web.Configuration.RuleSettings" /> object.</summary>
<value>The name of the <see cref="T:System.Web.Configuration.RuleSettings" /> object. The default value is an empty string ("").</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
A unique name is required.
## Examples
The following code example shows how to use the <xref:System.Web.Configuration.RuleSettings.Name%2A> property. This code example is part of a larger example provided for the <xref:System.Web.Configuration.HealthMonitoringSection> class.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/CS/healthmonitoringsection.cs" id="Snippet85":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/VB/healthmonitoringsection.vb" id="Snippet85":::
]]></format>
</remarks>
<altmember cref="T:System.Web.Configuration.HealthMonitoringSection" />
</Docs>
</Member>
<Member MemberName="Profile">
<MemberSignature Language="C#" Value="public string Profile { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Profile" />
<MemberSignature Language="DocId" Value="P:System.Web.Configuration.RuleSettings.Profile" />
<MemberSignature Language="VB.NET" Value="Public Property Profile As String" />
<MemberSignature Language="F#" Value="member this.Profile : string with get, set" Usage="System.Web.Configuration.RuleSettings.Profile" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ Profile { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Configuration.ConfigurationProperty("profile", DefaultValue="")]</AttributeName>
<AttributeName Language="F#">[<System.Configuration.ConfigurationProperty("profile", DefaultValue="")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the name of the <see cref="T:System.Web.Configuration.ProfileSettings" /> object this rule applies to.</summary>
<value>The name of the <see cref="T:System.Web.Configuration.ProfileSettings" /> object this rule applies to.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.Configuration.ProfileSettings> object referenced by this property must be contained by the same <xref:System.Web.Configuration.HealthMonitoringSection> object that also contains this <xref:System.Web.Configuration.RuleSettings>
object.
## Examples
The following code example shows how to use the <xref:System.Web.Configuration.RuleSettings.Profile%2A> property. This code example is part of a larger example provided for the <xref:System.Web.Configuration.HealthMonitoringSection> class.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/CS/healthmonitoringsection.cs" id="Snippet88":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/VB/healthmonitoringsection.vb" id="Snippet88":::
]]></format>
</remarks>
<altmember cref="T:System.Web.Configuration.HealthMonitoringSection" />
<altmember cref="T:System.Web.Configuration.ProfileSettings" />
</Docs>
</Member>
<Member MemberName="Properties">
<MemberSignature Language="C#" Value="protected override System.Configuration.ConfigurationPropertyCollection Properties { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Configuration.ConfigurationPropertyCollection Properties" />
<MemberSignature Language="DocId" Value="P:System.Web.Configuration.RuleSettings.Properties" />
<MemberSignature Language="VB.NET" Value="Protected Overrides ReadOnly Property Properties As ConfigurationPropertyCollection" />
<MemberSignature Language="F#" Value="member this.Properties : System.Configuration.ConfigurationPropertyCollection" Usage="System.Web.Configuration.RuleSettings.Properties" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual property System::Configuration::ConfigurationPropertyCollection ^ Properties { System::Configuration::ConfigurationPropertyCollection ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Configuration.ConfigurationPropertyCollection</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Provider">
<MemberSignature Language="C#" Value="public string Provider { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Provider" />
<MemberSignature Language="DocId" Value="P:System.Web.Configuration.RuleSettings.Provider" />
<MemberSignature Language="VB.NET" Value="Public Property Provider As String" />
<MemberSignature Language="F#" Value="member this.Provider : string with get, set" Usage="System.Web.Configuration.RuleSettings.Provider" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ Provider { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Configuration.ConfigurationProperty("provider", DefaultValue="")]</AttributeName>
<AttributeName Language="F#">[<System.Configuration.ConfigurationProperty("provider", DefaultValue="")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the name of the <see cref="T:System.Configuration.ProviderSettings" /> object this rule applies to.</summary>
<value>The name of the <see cref="T:System.Configuration.ProviderSettings" /> object this rule applies to.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Configuration.ProviderSettings> object referenced by this property must be contained by the same <xref:System.Web.Configuration.HealthMonitoringSection> object that also contains this <xref:System.Web.Configuration.RuleSettings> object.
## Examples
The following code example shows how to use the <xref:System.Web.Configuration.RuleSettings.Provider%2A> property. This code example is part of a larger example provided for the <xref:System.Web.Configuration.HealthMonitoringSection> class.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/CS/healthmonitoringsection.cs" id="Snippet87":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_WebNet/System.Web.Configuration.HealthMonitoringSection/VB/healthmonitoringsection.vb" id="Snippet87":::
]]></format>
</remarks>
<altmember cref="T:System.Web.Configuration.HealthMonitoringSection" />
<altmember cref="T:System.Configuration.ProviderSettings" />
</Docs>
</Member>
</Members>
</Type>