Task Scheduler Managed Class Library
Task Scheduler Managed Class Library
Task Scheduler Managed Class Library Overview
Microsoft.Win32.TaskScheduler
TriggerCollection Class
TriggerCollection Properties
Item Property
Item(Int32) Property
Item(String) Property
Trigger
Collection
Item(String) Property
Gets or sets a specified trigger from the collection.
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
Copy
public
Trigger
this
[
string
triggerId
] {
get
;
set
; }
Request Example
View Source
Parameters
triggerId
String
The id (
Id
) of the trigger to be retrieved.
Property Value
Trigger
The
Trigger
.
Return Value
Trigger
Specialized
Trigger
instance.
Exceptions
Exception
Condition
ArgumentNullException
ArgumentOutOfRangeException
NullReferenceException
InvalidOperationException
Mismatching Id for trigger and lookup.
See Also
Reference
TriggerCollection Class
Item Overload
Microsoft.Win32.TaskScheduler Namespace
© 2024 GitHub Community. All rights reserved.