Click or drag to resize
IActivityLogServiceLogWithoutModifiersAndFilters Method
Logs activity initialized by activityInitializer directly to the database. Implementation does not check IActivityLogFilter and does not use IActivityModifier. Final validation by IActivityLogValidator is performed. If you have HttpRequestBase available please use Log(IActivityInitializer, HttpRequestBase, Boolean) instead. Method is designed to be used in environment without request e.g. scheduled tasks. After the activity is stored, two events are fired. ActivityProcessedInLogService which should be used to hook on and also ActivityLogged which is there due to compatibility reasons (should not be used).

Namespace: CMS.Activities
Assembly: CMS.Activities (in CMS.Activities.dll) Version: 10.0.0
Syntax
C#
void LogWithoutModifiersAndFilters(
	IActivityInitializer activityInitializer
)

Parameters

activityInitializer
Type: CMS.ActivitiesIActivityInitializer
Activity initializer used to initialize logged activity
See Also