次の方法で共有


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.NET が検証に使用する RequestValidator 型の完全修飾名です。

属性

注釈

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

適用対象