UnvalidatedRequestValuesWrapper 類別

定義

提供 UnvalidatedRequestValuesBase 類別的包裝函式類別,並可用於存取 HTTP 要求值而不需觸發 ASP.NET 要求驗證。Provides a wrapper class for the UnvalidatedRequestValuesBase class, and provides access to HTTP request values without triggering ASP.NET request validation.

public ref class UnvalidatedRequestValuesWrapper : System::Web::UnvalidatedRequestValuesBase
public class UnvalidatedRequestValuesWrapper : System.Web.UnvalidatedRequestValuesBase
type UnvalidatedRequestValuesWrapper = class
    inherit UnvalidatedRequestValuesBase
Public Class UnvalidatedRequestValuesWrapper
Inherits UnvalidatedRequestValuesBase
繼承
UnvalidatedRequestValuesWrapper

備註

如需要求驗證的詳細資訊,請參閱 UnvalidatedRequestValuesFor information about request validation, see UnvalidatedRequestValues.

建構函式

UnvalidatedRequestValuesWrapper(UnvalidatedRequestValues)

初始化 UnvalidatedRequestValuesWrapper 類別的新執行個體。Initializes a new instance of the UnvalidatedRequestValuesWrapper class.

屬性

Cookies

取得用戶端傳送的 cookie 集合,而不觸發 ASP.NET 要求驗證。Gets the collection of cookies that the client sent, without triggering ASP.NET request validation.

Files

取得用戶端上傳檔案的集合,而不觸發 ASP.NET 要求驗證。Gets the collection of files that the client uploaded, without triggering ASP.NET request validation.

Form

取得用戶端送出之表單變數的集合,而不觸發 ASP.NET 要求驗證。Gets the collection of form variables that the client submitted, without triggering ASP.NET request validation.

Headers

取得用戶端傳送的 HTTP 標頭集合,而不觸發 ASP.NET 要求驗證。Gets the collection of HTTP headers that the client sent, without triggering ASP.NET request validation.

Item[String]

FormCookiesQueryStringServerVariables 集合中取得指定的物件,而不觸發 ASP.NET 要求驗證。Gets the specified object from the Form, Cookies, QueryString, or ServerVariables collection, without triggering ASP.NET request validation.

Path

取得要求之資源的虛擬路徑,而不觸發 ASP.NET 要求驗證。Gets the virtual path of the requested resource without triggering ASP.NET request validation.

PathInfo

針對具有 URL 副檔名的資源取得額外路徑資訊,而不觸發 ASP.NET 要求驗證。Gets additional path information for a resource that has a URL extension, without triggering ASP.NET request validation.

QueryString

取得用戶端送出之 HTTP 查詢字串變數的集合,而不觸發 ASP.NET 要求驗證。Gets the collection of HTTP query string variables that the client submitted, without triggering ASP.NET request validation.

RawUrl

取得要求的 URL 中網站名稱後面的部分,而不觸發 ASP.NET 要求驗證。Gets the part of the requested URL that follows the website name, without triggering ASP.NET request validation.

Url

取得要求的 URL 資料,而不觸發 ASP.NET 要求驗證。Gets the URL data for the request without triggering ASP.NET request validation.

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於