RuleSettings.Custom 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
를 구현 IWebEventCustomEvaluator하는 사용자 지정 클래스의 정규화된 형식을 가져오거나 설정합니다.
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
속성 값
를 구현하는 사용자 지정 클래스의 정규화된 형식입니다 IWebEventCustomEvaluator.
- 특성
예제
다음 코드 예제에서는 속성을 사용 하는 방법을 보여 있습니다 Custom . 이 코드 예제는 클래스에 제공된 더 큰 예제의 HealthMonitoringSection 일부입니다.
ruleSetting.Custom = "MyEvaluators.MyCustomeEvaluator2, MyCustom.dll";
ruleSetting.Custom = "MyEvaluators.MyCustomeEvaluator2, MyCustom.dll"
설명
형식 참조는 다음과 같이 구성됩니다(대괄호 안의 항목은 필요하지 않음): 네임스페이스. Typename, Assemblyname[,] [Version=x,] [Culture=y,] [PublicKeyToken=z]. 예를 들어 "ExampleNameSpace.ExampleType, Example.Assembly, Version=%ASSEMBLY_VERSION%, Culture=neutral, PublicKeyToken=%MICROSOFT_PUBLICKEY%"