PersonalizationProvider.LoadPersonalizationBlobs Method
Assembly: System.Web (in system.web.dll)
protected: virtual void LoadPersonalizationBlobs ( WebPartManager^ webPartManager, String^ path, String^ userName, array<unsigned char>^% sharedDataBlob, array<unsigned char>^% userDataBlob ) abstract
protected abstract void LoadPersonalizationBlobs ( WebPartManager webPartManager, String path, String userName, /** @ref */ byte[] sharedDataBlob, /** @ref */ byte[] userDataBlob )
Not applicable.
Parameters
- webPartManager
The WebPartManager managing the personalization data.
- path
The path for personalization information to be used as the retrieval key.
- userName
The user name for personalization information to be used as the retrieval key.
- sharedDataBlob
The returned data for the Shared scope.
- userDataBlob
The returned data for the User scope.
Classes that derive from PersonalizationProvider and implement this method should use the webPartManager, path, and username parameters as retrieval keys. Regardless of how the data is stored in the data store (some data stores might perform some type of intelligent storage), the personalization data must be returned as a packed set of bytes in two arrays. The returned data must conform to the following rules:
-
The data for the Shared scope must always be returned in the sharedDataBlob parameter.
-
Depending on the key values, User data is returned in the userDataBlob parameter. A non-a null reference (Nothing in Visual Basic) value for the userName parameter indicates that User data should also be retrieved.
A personalization provider that derives from PersonalizationProvider and implements this method can optimize interactions with its data store by retrieving all personalization data in one round trip, as opposed to retrieving Shared and User data in two separate round trips.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.