Windows Dev Center

Expand Minimize

Delay (sessionStateChangeTriggerType) Element

Contains a value that indicates the delay length for a task start time, when a Terminal Server session state change is detected. The format for this string is PnYnMnDTnHnMnS, where nY is the number of years, nM is the number of months, nD is the number of days, 'T' is the date/time separator, nH is the number of hours, nM is the number of minutes, and nS is the number of seconds (for example, PT5M specifies 5 minutes and P1M4DT2H5M specifies one month, four days, two hours, and five minutes). For more information about the duration type, see http://go.microsoft.com/fwlink/p/?linkid=106886.

<xs:element name="Delay"
    type="duration"
 />

The Delay element is defined by the sessionStateChangeTriggerType complex type.

Parent element

ElementDerived fromDescription
SessionStateChangeTrigger sessionStateChangeTriggerType

Specifies a trigger that starts a task when a Terminal Server session changes state.

Remarks

For scripting development, the session state change trigger delay is specified using the SessionStateChangeTrigger.Delay property.

For C++ development, the session state change trigger delay is specified using the Delay property of ISessionStateChangeTrigger.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

 

 

Community Additions

ADD
Show:
© 2015 Microsoft