 | CorrelatedTaskEventLog Constructor |
Initializes a new instance of the
CorrelatedTaskEventLog class that looks at all task events from a specified time.
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.10.1
Syntaxpublic CorrelatedTaskEventLog(
DateTime startTime,
string taskName = null,
string machineName = null
)
Public Sub New (
startTime As DateTime,
Optional taskName As String = Nothing,
Optional machineName As String = Nothing
)
public:
CorrelatedTaskEventLog(
DateTime startTime,
String^ taskName = nullptr,
String^ machineName = nullptr
)
Request Example
View SourceParameters
- startTime
- Type: SystemDateTime
The start time. - taskName (Optional)
- Type: SystemString
Name of the task. - machineName (Optional)
- Type: SystemString
Name of the machine (optional).
See Also