ScheduledTask.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Create(ScheduledTaskStartEvent) | |
Create(ScheduledTaskStopEvent) | |
Create(ScheduledTaskTriggerEvent) |
Create(ScheduledTaskStartEvent)
public static Microsoft.Windows.EventTracing.ScheduledTasks.ScheduledTask Create (Microsoft.Windows.EventTracing.ScheduledTasks.ScheduledTaskStartEvent startEvent);
static member Create : Microsoft.Windows.EventTracing.ScheduledTasks.ScheduledTaskStartEvent -> Microsoft.Windows.EventTracing.ScheduledTasks.ScheduledTask
Public Shared Function Create (startEvent As ScheduledTaskStartEvent) As ScheduledTask
Parameters
- startEvent
- ScheduledTaskStartEvent
Returns
Applies to
Create(ScheduledTaskStopEvent)
public static Microsoft.Windows.EventTracing.ScheduledTasks.ScheduledTask Create (Microsoft.Windows.EventTracing.ScheduledTasks.ScheduledTaskStopEvent stopEvent);
static member Create : Microsoft.Windows.EventTracing.ScheduledTasks.ScheduledTaskStopEvent -> Microsoft.Windows.EventTracing.ScheduledTasks.ScheduledTask
Public Shared Function Create (stopEvent As ScheduledTaskStopEvent) As ScheduledTask
Parameters
- stopEvent
- ScheduledTaskStopEvent
Returns
Applies to
Create(ScheduledTaskTriggerEvent)
public static Microsoft.Windows.EventTracing.ScheduledTasks.ScheduledTask Create (Microsoft.Windows.EventTracing.ScheduledTasks.ScheduledTaskTriggerEvent triggerEvent);
static member Create : Microsoft.Windows.EventTracing.ScheduledTasks.ScheduledTaskTriggerEvent -> Microsoft.Windows.EventTracing.ScheduledTasks.ScheduledTask
Public Shared Function Create (triggerEvent As ScheduledTaskTriggerEvent) As ScheduledTask
Parameters
- triggerEvent
- ScheduledTaskTriggerEvent