Edit

Share via


ScheduledTaskStopEvent.ExitCode Property

Definition

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

public int ExitCode { get; }
member this.ExitCode : int
Public ReadOnly Property ExitCode As Integer

Property Value

Remarks

The exit code of a successful task is not preserved and is always 0.

Applies to