Click or drag to resize
Task Scheduler Managed Class Library

EventTriggerSetBasic Method

Sets the subscription for a basic event. This will replace the contents of the Subscription property and clear all entries in the ValueQueries property.

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntax
public void SetBasic(
	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