XhtmlCssHandler XhtmlCssHandler XhtmlCssHandler XhtmlCssHandler Class

定義

警告

此 API 現已淘汰。

處理對 System.Web.UI.MobileControls.Adapters.XhtmlAdapters 命名空間中配接器之階層式樣式表 (CSS) 樣式資訊的要求。Handles requests for cascading style sheet (CSS) style information for adapters in the System.Web.UI.MobileControls.Adapters.XhtmlAdapters namespace. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public ref class XhtmlCssHandler : System::Web::IHttpHandler, System::Web::SessionState::IRequiresSessionState
[System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
public class XhtmlCssHandler : System.Web.IHttpHandler, System.Web.SessionState.IRequiresSessionState
type XhtmlCssHandler = class
    interface IHttpHandler
    interface IRequiresSessionState
Public Class XhtmlCssHandler
Implements IHttpHandler, IRequiresSessionState
繼承
XhtmlCssHandlerXhtmlCssHandlerXhtmlCssHandlerXhtmlCssHandler
屬性
實作

備註

若要XhtmlCssHandler讓您的網站利用類別, 您必須HttpHandlers將屬性區段加入 web.config 檔案中, 如下列程式碼範例所示:For your Web site to take advantage of the XhtmlCssHandler class, you must add an HttpHandlers property section to the Web.config file, as shown in the following code example:

<httpHandlers>  
    <add verb="*" path="*/xhtmlCss.axd"   
type =   
  "System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlCssHandler,   
    System.Web.UI.MobileControls.Adapters,Version=1.0.0.0,   
    PublicKeyToken=b03f5f7f11d50a3a,Culture=neutral" />  
</httpHandlers>  

建構函式

XhtmlCssHandler() XhtmlCssHandler() XhtmlCssHandler() XhtmlCssHandler()

初始化 XhtmlCssHandler 類別的新執行個體。Initializes a new instance of the XhtmlCssHandler class. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

屬性

IsReusable IsReusable IsReusable IsReusable

取得值,指出另一個要求可以使用 XhtmlCssHandler 類別目前的執行個體。Gets a value indicating that another request can use the current instance of the XhtmlCssHandler class. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

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

(Inherited from Object)
GetType() GetType() GetType() GetType()

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

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
ProcessRequest(HttpContext) ProcessRequest(HttpContext) ProcessRequest(HttpContext) ProcessRequest(HttpContext)

針對 XHTML 配接器集,處理 CSS 樣式資訊的所有 HTTP 要求。Processes all HTTP requests for CSS style information for the XHTML adapter set. 這個 API 已經過時。This API is obsolete. 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps & Sites with ASP.NET (使用 ASP.NET 來開發行動應用程式與網站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

ToString() ToString() ToString() ToString()

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

(Inherited from Object)

安全性

AspNetHostingPermission
用於裝載環境中的作業。for operating in a hosted environment. 要求值:InheritanceDemand,權限值:MinimalDemand value: InheritanceDemand; Permission value: Minimal.

適用於

另請參閱