RuleSettings.Custom Property

Definition

Gets or sets the fully qualified type of a custom class that implements IWebEventCustomEvaluator.

C#
[System.Configuration.ConfigurationProperty("custom", DefaultValue="")]
public string Custom { get; set; }

Property Value

The fully qualified type of a custom class that implements IWebEventCustomEvaluator.

Attributes

Examples

The following code example shows how to use the Custom property. This code example is part of a larger example provided for the HealthMonitoringSection class.

C#
ruleSetting.Custom = "MyEvaluators.MyCustomeEvaluator2, MyCustom.dll";

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%"

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also