UnvalidatedRequestValuesBase 類別

定義

做為類別的基底類別,可用於存取 HTTP 要求值而不需觸發 ASP.NET 要求驗證。Serves as the base class for classes that provide access to HTTP request values without triggering ASP.NET request validation.

public ref class UnvalidatedRequestValuesBase abstract
public abstract class UnvalidatedRequestValuesBase
type UnvalidatedRequestValuesBase = class
Public MustInherit Class UnvalidatedRequestValuesBase
繼承
UnvalidatedRequestValuesBase
衍生

備註

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

建構函式

UnvalidatedRequestValuesBase()

從衍生類別的建構函式進行呼叫,以初始化 UnvalidatedRequestValuesBase 類別。Called from constructors in derived classes in order to initialize the UnvalidatedRequestValuesBase class.

屬性

Cookies

在衍生類別中覆寫時,取得用戶端傳送的 Cookie 集合,而不觸發 ASP.NET 要求驗證。When overridden in a derived class, gets the collection of cookies that the client sent, without triggering ASP.NET request validation.

Files

在衍生類別中覆寫時,取得用戶端上傳的檔案集合,而不觸發 ASP.NET 要求驗證。When overridden in a derived class, gets the collection of files that the client uploaded, without triggering ASP.NET request validation.

Form

在衍生類別中覆寫時,取得用戶端送出的表單變數集合,而不觸發 ASP.NET 要求驗證。When overridden in a derived class, gets the collection of form variables that the client submitted, without triggering ASP.NET request validation.

Headers

在衍生類別中覆寫時,取得用戶端傳送的 HTTP 標頭集合,而不觸發 ASP.NET 要求驗證。When overridden in a derived class, gets the collection of HTTP headers that the client sent, without triggering ASP.NET request validation.

Item[String]

在衍生類別中覆寫時,從 FormCookiesQueryStringServerVariables 集合取得指定的物件,而不觸發 ASP.NET 要求驗證。When overridden in a derived class, gets the specified object from the Form, Cookies, QueryString, or ServerVariables collection, without triggering ASP.NET request validation.

Path

在衍生類別中覆寫時,取得要求的資源的虛擬路徑,而不觸發 ASP.NET 要求驗證。When overridden in a derived class, gets the virtual path of the requested resource without triggering ASP.NET request validation.

PathInfo

在衍生類別中覆寫時,針對具有 URL 副檔名的資源取得額外路徑資訊,而不觸發 ASP.NET 要求驗證。When overridden in a derived class, gets additional path information for a resource that has a URL extension, without triggering ASP.NET request validation.

QueryString

在衍生類別中覆寫時,取得用戶端送出的 HTTP 查詢字串變數集合,而不觸發 ASP.NET 要求驗證。When overridden in a derived class, gets the collection of HTTP query string variables that the client submitted, without triggering ASP.NET request validation.

RawUrl

在衍生類別中覆寫時,取得要求的 URL 中網站名稱後面的部分,而不觸發 ASP.NET 要求驗證。When overridden in a derived class, gets the part of the requested URL that follows the website name, without triggering ASP.NET request validation.

Url

在衍生類別中覆寫時,取得要求的 URL 資料且不會觸發要求驗證。When overridden in a derived class, gets the URL data for the request without triggering 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)

適用於