Condividi tramite


ProfileSettings.Custom Proprietà

Definizione

Ottiene o imposta il tipo completo di una classe personalizzata che implementa l'interfaccia 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

Valore della proprietà

Tipo completo di una classe personalizzata che implementa l'interfaccia IWebEventCustomEvaluator . Il valore predefinito è una stringa vuota ("").

Attributi

Esempio

Nell'esempio di codice seguente viene illustrato come utilizzare la Custom proprietà . Questo esempio di codice fa parte di un esempio più ampio fornito per la HealthMonitoringSection classe .

profileSetting.Custom = "MyEvaluators.MyCustomeEvaluator, MyCustom.dll";
profileSetting.Custom = "MyEvaluators.MyCustomeEvaluator, MyCustom.dll"

Commenti

Il riferimento al tipo è formato come segue (gli elementi tra parentesi quadre non sono obbligatori): Spazio dei nomi. Typename, Assemblyname[,] [Version=x,] [Culture=y,] [PublicKeyToken=z]. Ad esempio, "ExampleNameSpace.ExampleType, Example.Assembly, Version=%ASSEMBLY_VERSION%, Culture=neutral, PublicKeyToken=%MICROSOFT_PUBLICKEY%"

Si applica a

Vedi anche