Click or drag to resize
Task Scheduler Managed Class Library

EventTrigger Constructor (String, String, NullableInt32)

Initializes an unbound instance of the EventTrigger class and sets a basic event.

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntax
public EventTrigger(
	string log,
	string source,
	int? eventId
)
Request Example View Source

Parameters

log
Type: SystemString
The event's log.
source
Type: SystemString
The event's source. Can be null.
eventId
Type: SystemNullableInt32
The event's id. Can be null.
See Also