November Happy Hour will be moved to Thursday December 5th.

Interface IActivityEvents

Defines the events raised when working with activities.

Namespace: EPiServer.DataAbstraction.Activities
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public interface IActivityEvents

Methods

add_ActivityCreated(AsyncEventHandler<ActivityCreatedEventArgs>)

Declaration
void add_ActivityCreated(AsyncEventHandler<ActivityCreatedEventArgs> value)
Parameters
Type Name Description
AsyncEventHandler<ActivityCreatedEventArgs> value

add_ActivityDeleted(AsyncEventHandler<ActivityDeletedEventArgs>)

Declaration
void add_ActivityDeleted(AsyncEventHandler<ActivityDeletedEventArgs> value)
Parameters
Type Name Description
AsyncEventHandler<ActivityDeletedEventArgs> value

add_ActivityUpdated(AsyncEventHandler<ActivityUpdatedEventArgs>)

Declaration
void add_ActivityUpdated(AsyncEventHandler<ActivityUpdatedEventArgs> value)
Parameters
Type Name Description
AsyncEventHandler<ActivityUpdatedEventArgs> value

remove_ActivityCreated(AsyncEventHandler<ActivityCreatedEventArgs>)

Declaration
void remove_ActivityCreated(AsyncEventHandler<ActivityCreatedEventArgs> value)
Parameters
Type Name Description
AsyncEventHandler<ActivityCreatedEventArgs> value

remove_ActivityDeleted(AsyncEventHandler<ActivityDeletedEventArgs>)

Declaration
void remove_ActivityDeleted(AsyncEventHandler<ActivityDeletedEventArgs> value)
Parameters
Type Name Description
AsyncEventHandler<ActivityDeletedEventArgs> value

remove_ActivityUpdated(AsyncEventHandler<ActivityUpdatedEventArgs>)

Declaration
void remove_ActivityUpdated(AsyncEventHandler<ActivityUpdatedEventArgs> value)
Parameters
Type Name Description
AsyncEventHandler<ActivityUpdatedEventArgs> value

Events

ActivityCreated

Occurs when a new Activity has been created.

Declaration
event AsyncEventHandler<ActivityCreatedEventArgs> ActivityCreated
Event Type
Type Description
AsyncEventHandler<ActivityCreatedEventArgs>

ActivityDeleted

Occurs when an existing Activity has been updated.

Declaration
event AsyncEventHandler<ActivityDeletedEventArgs> ActivityDeleted
Event Type
Type Description
AsyncEventHandler<ActivityDeletedEventArgs>

ActivityUpdated

Occurs when an existing Activity has been deleted.

Declaration
event AsyncEventHandler<ActivityUpdatedEventArgs> ActivityUpdated
Event Type
Type Description
AsyncEventHandler<ActivityUpdatedEventArgs>

Extension Methods