Share via


Receivers Element (Event)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Contains the description of an event receiver for handling item events in lists created through the specified list template.

<Receivers
  ListTemplateId = "Text"
  ListTemplateOwner = "Text">
</Receivers>

Attributes

Attribute

Description

ListTemplateId

Optional Text. Specifies the index of the list template to which the event receiver applies. The following values are the default list template types.

  • 100   Generic list

  • 101   Document library

  • 102   Survey

  • 103   Links list

  • 104   Announcements list

  • 105   Contacts list

  • 106   Events list

  • 107   Tasks list

  • 108   Discussion board

  • 109   Picture library

  • 110   Data sources

  • 111   Site template gallery

  • 112   User Information list

  • 113   Web Part gallery

  • 114   List template gallery

  • 115   XML Form library

  • 116   Master pages gallery

  • 117   No-Code Workflows

  • 118   Custom Workflow Process

  • 119   Wiki Page library

  • 120   Custom grid for a list

  • 130   Data Connection library

  • 140   Workflow History

  • 150   Gantt Tasks list

  • 200   Meeting Series list

  • 201   Meeting Agenda list

  • 202   Meeting Attendees list

  • 204   Meeting Decisions list

  • 207   Meeting Objectives list

  • 210   Meeting text box

  • 211   Meeting Things To Bring list

  • 212   Meeting Workspace Pages list

  • 301   Blog Posts list

  • 302   Blog Comments list

  • 303   Blog Categories list

  • 1100   Issue tracking

  • 1200   Administrator tasks list

ListTemplateOwner

Optional Text. Specifies the GUID of the list template owner if the list template is registered via Features, or the name of the site definition if the list template is registered by a site definition.

Child Elements

Receiver

Parent Elements

Elements

Occurrences

Minimum: 1

Maximum: Unbounded

Example

For an example of how this element is used, see Event Registrations.

Microsoft.Win32.RegistryKey#4