XhtmlCssHandler 类

定义

注意

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.

处理对 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
public 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
[<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.")>]
type XhtmlCssHandler = class
    interface IHttpHandler
    interface IRequiresSessionState
Public Class XhtmlCssHandler
Implements IHttpHandler, IRequiresSessionState
继承
XhtmlCssHandler
属性
实现

注解

为了使你的网站能够利用 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 类的新实例。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

获取一个值,该值指示另一个请求可以使用 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)

确定指定对象是否等于当前对象。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)
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()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于