Table of Contents

Class ActivityBulkInsertPerformedHandler

Namespace
CMS.Activities
Assembly
CMS.Activities.dll

Event handler for the event fired once the activities are inserted in bulk to the database.

public class ActivityBulkInsertPerformedHandler : AdvancedHandler<ActivityBulkInsertPerformedHandler, CMSEventArgs<IList<IActivityInfo>>>
Inheritance
object
ActivityBulkInsertPerformedHandler
Inherited Members
Extension Methods

Methods

Start(IList<IActivityInfo>)

Commences the event by invoking the registered Before event handlers. Returns a handle for completing the event.

public IAdvancedEventHandle<CMSEventArgs<IList<IActivityInfo>>> Start(IList<IActivityInfo> activities)

Parameters

activities IList<IActivityInfo>

Collection of processed IActivityInfo.

Returns

IAdvancedEventHandle<CMSEventArgs<IList<IActivityInfo>>>

Returns a handle for completing the event.

Exceptions

ArgumentNullException

activities is null.

InvalidOperationException

First IActivityInfo has to have its ActivityID property set.

StartEvent(IList<IActivityInfo>)

Initiates the event.

[Obsolete("Use Start(IList<IActivityInfo>) instead.")]
[ObsoleteSince(30, 2)]
public ActivityBulkInsertPerformedHandler StartEvent(IList<IActivityInfo> activities)

Parameters

activities IList<IActivityInfo>

Collection of processed IActivityInfo

Returns

ActivityBulkInsertPerformedHandler

Event handler

Exceptions

ArgumentNullException

activities is null

InvalidOperationException

First IActivityInfo has to have its ActivityID property set