The Personalization type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetProfile(String, String) |
load users profile and extract value base on naming container and key
| |
| GetProfile(PersonalizationInfo, String, String) |
extract value base on naming container and key from PersonalizationInfo object
| |
| GetSecureProfile(String, String) |
load users profile and extract secure value base on naming container and key
| |
| GetSecureProfile(PersonalizationInfo, String, String) |
extract value base on naming container and key from PersonalizationInfo object
function will automatically decrypt value to plaintext
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RemoveProfile(String, String) |
remove value from profile
uses namingcontainer and key to locate approriate value
| |
| RemoveProfile(PersonalizationInfo, String, String) |
remove value from users PersonalizationInfo object (if it exists)
uses namingcontainer and key to locate approriate value
| |
| SetProfile(String, String, Object) |
persist profile value -use naming container and key to orgainize
| |
| SetProfile(PersonalizationInfo, String, String, Object) |
persist value stored in PersonalizationInfo obhect - use naming container and key to organize
| |
| SetSecureProfile(String, String, Object) |
persist profile value -use naming container and key to orgainize
function calls an overload which automatically encrypts the value
| |
| SetSecureProfile(PersonalizationInfo, String, String, Object) |
persist profile value from PersonalizationInfo object, using naming container and key to organise
function will automatically encrypt the value to plaintext
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
| Name | Description | |
|---|---|---|
| ToJson |
Extension method on object that serializes the value to Json.
Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.) |