EventTriggerBuildQuery Method

Builds an event log XML query string based on the input parameters.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.0
public static string BuildQuery(
	string log,
	string source,
	int? eventId
)

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.

Return Value

String
XML query string.

Exceptions

See Also