ContextEventHandlers Element in DeclarativeContextDefinition (SolutionManifestDeclarativeExtensions Schema)
Applies to: SharePoint Server 2010
The <ContextEventHandlers> element is used to specify the actions to be executed when a context becomes active and the actions to be taken when a context is deactivated.
Namespace: https://schemas.microsoft.com/office/2009/05/BusinessApplications/Manifest/DeclarativeExtensions
Schema: SolutionManifestDeclarativeExtensions
<ContextEventHandlers > </ContextEventHandlers>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
Element |
Description |
---|---|
ContextActivated Element in ContextEventHandlers (SolutionManifestDeclarativeExtensions Schema) |
The action to be executed when a context becomes active. |
ContextDeactivated Element in ContextEventHandlers (SolutionManifestDeclarativeExtensions Schema) |
The action to be executed when a context is deactivated. |
Parent Elements
Element |
Description |
---|---|
DeclarativeContextDefinition Element (SolutionManifestDeclarativeExtensions Schema) |
The context that these actions apply to. |