Task Scheduler Managed Class Library
C#
Show/Hide TOC
Trigger
Collection
Item(String) Property
Gets or sets a specified trigger from the collection.
Definition
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
C#
Copy
View Source
Request Example
public
Trigger
this
[
string
triggerId
] {
get
;
set
; }
Parameters
triggerId
String
The id (
Id
) of the trigger to be retrieved.
Property Value
Trigger
The
Trigger
.
Return Value
Trigger
Specialized
Trigger
instance.
Exceptions
ArgumentNullException
ArgumentOutOfRangeException
NullReferenceException
InvalidOperationException
Mismatching Id for trigger and lookup.
See Also
Reference
TriggerCollection Class
Item Overload
Microsoft.Win32.TaskScheduler Namespace
In This Article
Definition
Parameters
Property Value
Return Value
Exceptions
See Also