UserPersonalizationStateInfo Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the UserPersonalizationStateInfo class.
public:
UserPersonalizationStateInfo(System::String ^ path, DateTime lastUpdatedDate, int size, System::String ^ username, DateTime lastActivityDate);
public UserPersonalizationStateInfo (string path, DateTime lastUpdatedDate, int size, string username, DateTime lastActivityDate);
new System.Web.UI.WebControls.WebParts.UserPersonalizationStateInfo : string * DateTime * int * string * DateTime -> System.Web.UI.WebControls.WebParts.UserPersonalizationStateInfo
Public Sub New (path As String, lastUpdatedDate As DateTime, size As Integer, username As String, lastActivityDate As DateTime)
Parameters
- path
- String
The page that the information applies to. path
is an application-relative (using tilde syntax) virtual path.
- lastUpdatedDate
- DateTime
The last date and time that the user information for a page was updated.
- size
- Int32
The size, in bytes, of the per-user state information for the page.
- username
- String
The user to whom the personalization information for the page applies.
- lastActivityDate
- DateTime
The last time the user was active in the ASP.NET application.
Exceptions
path
, after trimming, is an empty string ("").
-or-
username
, after trimming, is an empty string ("").
size
is negative.
Remarks
The lastActivityDate
parameter indicates the last time the user was active in the ASP.NET application. This date can be updated by other ASP.NET features, such as Membership and Profile.
path
and username
are trimmed if non-null
.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應