Click or drag to resize
Task Scheduler Managed Class Library

TaskEventGetDataValue Method

Note: This API is now obsolete.

Gets the data value from the task specific event data item list.

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
[ObsoleteAttribute("Use the DataVales property instead.")]
public string GetDataValue(
	string name
)
Request Example View Source

Parameters

name  String
The name of the data element.

Return Value

String
Contents of the requested data element if found. null if no value found.
See Also