編輯

共用方式為


ContextDeactivated Element in ContextEventHandlers

(SolutionManifestDeclarativeExtensions Schema)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

Enables you to execute a specified action when a context is deactivated. For example, this can be used to execute a custom action to do cleanup when a context is deactivated.

Namespace: http://schemas.microsoft.com/office/2009/05/BusinessApplications/Manifest/DeclarativeExtensions

Schema: SolutionManifestDeclarativeExtensions

<ContextDeactivated  ActionName = "String" Description = "String"> </ContextDeactivated>

Elements and attributes

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

**ActionName**

The name of the action to execute.

Required.

Attribute type: **String**

**Description**

A description for the action.

Optional.

Attribute type: **String**

Child elements

None.

Parent elements

Element Description
ContextEventHandlers Element in DeclarativeContextDefinition (SolutionManifestDeclarativeExtensions Schema) The context event handlers for the context.