HttpRuntimeSection.RequestValidationType プロパティ

定義

HTTP 要求の検証に使用される型の名前を取得または設定します。

public:
 property System::String ^ RequestValidationType { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("requestValidationType", DefaultValue="System.Web.Util.RequestValidator")]
[System.Configuration.StringValidator(MinLength=1)]
public string RequestValidationType { get; set; }
[<System.Configuration.ConfigurationProperty("requestValidationType", DefaultValue="System.Web.Util.RequestValidator")>]
[<System.Configuration.StringValidator(MinLength=1)>]
member this.RequestValidationType : string with get, set
Public Property RequestValidationType As String

プロパティ値

要求検証タスクを処理する型の名前。 既定値は、検証に使用 ASP.NETRequestValidator 型の完全修飾名です。

属性

注釈

ASP.NET 要求の検証動作をカスタマイズするには、RequestValidator 型から継承するクラスを作成します。 アプリケーションの構成ファイルで、requestValidationType要素のhttpRuntime属性をカスタム型の完全修飾文字列名に設定します。 詳細については、「 httpRuntime 要素 (ASP.NET 設定スキーマ)」を参照してください。

適用対象