RuleSettings.Custom Własność
Definicja
Ważny
Niektóre informacje dotyczą produktów przedpremierowych, które mogą zostać znacznie zmodyfikowane przed premierą. Microsoft nie udziela żadnych gwarancji, ani wyraźnych, ani domniemanych, dotyczących informacji podanych tutaj.
Pobiera lub ustawia w pełni kwalifikowany typ klasy niestandardowej, która implementuje IWebEventCustomEvaluatorelement .
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
Wartość nieruchomości
W pełni kwalifikowany typ klasy niestandardowej, która implementuje IWebEventCustomEvaluatorelement .
- Atrybuty
Przykłady
W poniższym przykładzie kodu pokazano, jak używać Custom właściwości. Ten przykład kodu jest częścią większego przykładu podanego HealthMonitoringSection dla klasy.
ruleSetting.Custom = "MyEvaluators.MyCustomeEvaluator2, MyCustom.dll";
ruleSetting.Custom = "MyEvaluators.MyCustomeEvaluator2, MyCustom.dll"
Uwagi
Odwołanie typu jest tworzone w następujący sposób (elementy w nawiasach kwadratowych nie są wymagane): przestrzeń nazw. Typename, Assemblyname[,] [Version=x,] [Culture=y,] [PublicKeyToken=z]. Na przykład "ExampleNameSpace.ExampleType, Example.Assembly, Version=%ASSEMBLY_VERSION%, Culture=neutral, PublicKeyToken=%MICROSOFT_PUBLICKEY%"