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.12.0
Syntax
C#
public void SetBasic(
	string log,
	string source,
	int? eventId
)
Request Example View Source

Parameters

log  String
The event's log.
source  String
The event's source. Can be null.
eventId  NullableInt32
The event's id. Can be null.
See Also