Click or drag to resize
CurrentContactProviderContextDecoratorSetCurrentContact Method
Checks whether processing of contact can continue. If so, stores information about the current contact into the persistent storage (IContactPersistentStorage), so that the next time (possibly in another request in the same session) GetCurrentContact(IUserInfo, Boolean) is called, the stored contact is returned.

Namespace: CMS.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 12.0.0
Syntax
C#
public void SetCurrentContact(
	ContactInfo contact
)

Parameters

contact
Type: CMS.ContactManagementContactInfo
The contact who performed the request

Implements

ICurrentContactProviderSetCurrentContact(ContactInfo)
Exceptions
ExceptionCondition
InvalidOperationExceptionProcessing of contacts cannot continue. This can be due to the insufficient license, disabled online marketing or incorrect request state.
See Also