RuleSettings.Custom Özellik

Tanım

uygulayan IWebEventCustomEvaluatorbir özel sınıfın tam türünü alır veya ayarlar.

public:
 property System::String ^ Custom { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("custom", DefaultValue="")]
public string Custom { get; set; }
[<System.Configuration.ConfigurationProperty("custom", DefaultValue="")>]
member this.Custom : string with get, set
Public Property Custom As String

Özellik Değeri

String

uygulayan IWebEventCustomEvaluatorbir özel sınıfın tam türü.

Öznitelikler

Örnekler

Aşağıdaki kod örneği özelliğinin Custom nasıl kullanılacağını gösterir. Bu kod örneği, sınıfı için HealthMonitoringSection sağlanan daha büyük bir örneğin parçasıdır.

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

Açıklamalar

Tür başvurusu şu şekilde oluşturulur (köşeli ayraç içindeki öğeler gerekli değildir): Ad alanı. Typename, Assemblyname[,] [Version=x,] [Culture=y,] [PublicKeyToken=z]. Örneğin, "ExampleNameSpace.ExampleType, Example.Assembly, Version=%ASSEMBLY_VERSION%, Culture=neutral, PublicKeyToken=%MICROSOFT_PUBLICKEY%"

Şunlara uygulanır

Ayrıca bkz.