IContactPersistentStorageSetPersistentContact Method |
Namespace: CMS.ContactManagement
void SetPersistentContact( ContactInfo contact )
Following example shows how to use SetPersistentContact method
... IContactPersistentStorage contactPersistentStorage = someImplementation; // Stores given 'contact' to the persistent storage contactPersistentStorage.SetPersistentContact(contact); ... ... // In another request // Returns the same contact that was set earlier with SetPersistentContact method contactPersistentStorage.GetPersistentContact();