XhtmlMobileTextWriter.SetSessionKey(HttpSessionState) 方法

定义

为客户端创建用于从 Session 对象检索样式表的唯一字符串。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

public:
 virtual void SetSessionKey(System::Web::SessionState::HttpSessionState ^ session);
public virtual void SetSessionKey(System.Web.SessionState.HttpSessionState session);
abstract member SetSessionKey : System.Web.SessionState.HttpSessionState -> unit
override this.SetSessionKey : System.Web.SessionState.HttpSessionState -> unit
Public Overridable Sub SetSessionKey (session As HttpSessionState)

参数

session
HttpSessionState

当前 Session 对象。

注解

此方法主要由自定义移动页面和控件适配器的开发人员使用。

适用于

另请参阅