Edit

Share via


ScheduledTaskStopEvent Struct

Definition

Represents the completion of a scheduled task.

public struct ScheduledTaskStopEvent
type ScheduledTaskStopEvent = struct
Public Structure ScheduledTaskStopEvent
Inheritance
ScheduledTaskStopEvent

Properties

ExitCode

Gets the exit code HResult provided by a task that failed.

FullName

Gets the fully-qualified name of the task, including the path.

Id

Gets the unique identifier for this instance of the scheduled task.

Name

Gets the relative name of the task, not including the path.

Succeeded

Gets a value that indicates where the task completed succesfully.

Timestamp

Gets the timestamp at which the scheduled task stop event was logged in the trace.

UserDomainName

Gets the domain name for the user identity used to run the task, if any.

UserFullName

Gets fully-qualified name of the user identity used to run the task, including the domain name.

UserName

Gets the name of the user identity used to run the task, not including the domain name.

Applies to