StateChange (sessionStateChangeTriggerType) Element

Contains the kind of Terminal Server session change that would trigger a task launch.

<xs:element name="StateChange"
    type="sessionStateChangeType"
 />

The StateChange element is defined by the sessionStateChangeTriggerType complex type.

Parent element

Element Derived from Description
SessionStateChangeTrigger sessionStateChangeTriggerType Specifies a trigger that starts a task when a Terminal Server session changes state.

Remarks

For C++ development, see StateChange Property of ISessionStateChangeTrigger.

For script development, see SessionStateChangeTrigger.StateChange.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]