TriggerBase interface
属性
end |
以 ISO 8601 指定计划的结束时间,但不指定 UTC 偏移量。 请参阅 https://en.wikipedia.org/wiki/ISO_8601。 重新注释的格式将为“2022-06-01T00:00:01”(如果不存在),计划将无限期运行 |
start |
以 ISO 8601 格式指定计划的开始时间,但没有 UTC 偏移量。 |
time |
指定运行计划的时区。 TimeZone 应遵循 Windows 时区格式。 请参阅:https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11 |
trigger |
多态鉴别器,它指定此对象可以的不同类型的 |
属性详细信息
endTime
以 ISO 8601 指定计划的结束时间,但不指定 UTC 偏移量。 请参阅 https://en.wikipedia.org/wiki/ISO_8601。 重新注释的格式将为“2022-06-01T00:00:01”(如果不存在),计划将无限期运行
endTime?: string
属性值
string
startTime
以 ISO 8601 格式指定计划的开始时间,但没有 UTC 偏移量。
startTime?: string
属性值
string
timeZone
指定运行计划的时区。 TimeZone 应遵循 Windows 时区格式。 请参阅:https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/default-time-zones?view=windows-11
timeZone?: string
属性值
string
triggerType
多态鉴别器,它指定此对象可以的不同类型的
triggerType: "Cron" | "Recurrence"
属性值
"Cron" | "Recurrence"