idleSettingsType 複雜類型
定義 IdleSettings (settingsType) 元素的子專案和排序資訊。
<xs:complexType name="idleSettingsType">
<xs:all>
<xs:element name="Duration"
default="PT10M"
minOccurs="0"
>
<xs:simpleType>
<xs:restriction
base="duration"
>
<xs:minInclusive
value="PT1M"
/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="WaitTimeout"
default="PT1H"
minOccurs="0"
>
<xs:simpleType>
<xs:restriction
base="duration"
>
<xs:minInclusive
value="PT1M"
/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="StopOnIdleEnd"
type="boolean"
default="true"
minOccurs="0"
/>
<xs:element name="RestartOnIdle"
type="boolean"
default="false"
minOccurs="0"
/>
</xs:all>
</xs:complexType>
子元素
元素 | 類型 | Description |
---|---|---|
持續時間 | 指定在閒置條件中允許啟動工作的時間量。 |
|
RestartOnIdle | boolean | 工作會在閒置條件啟動時立即重新開機。 |
StopOnIdleEnd | boolean | 指定如果閒置條件在超過閒置持續時間之前結束,工作就會終止。 |
WaitTimeout | 指定等候閒置條件啟動的時間量。 如果未為此元素指定任何值,則工作排程器服務會無限期等候閒置狀況發生。 |
規格需求
需求 | 值 |
---|---|
最低支援的用戶端 |
Windows Vista [僅限傳統型應用程式] |
最低支援的伺服器 |
Windows Server 2008 [僅限傳統型應用程式] |
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應