Редагувати

Поділитися через


XhtmlCssHandler Class

Definition

Caution

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.

Handles requests for cascading style sheet (CSS) style information for adapters in the System.Web.UI.MobileControls.Adapters.XhtmlAdapters namespace. 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
Inheritance
XhtmlCssHandler
Attributes
Implements

Remarks

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>  

Constructors

XhtmlCssHandler()

Initializes a new instance of the XhtmlCssHandler class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Properties

IsReusable

Gets a value indicating that another request can use the current instance of the XhtmlCssHandler class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ProcessRequest(HttpContext)

Processes all HTTP requests for CSS style information for the XHTML adapter set. This API is obsolete. 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.

(Inherited from Object)

Applies to

See also