Modifier

Partager via


IScheduledTask.ExitCode Property

Definition

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

public Nullable<int> ExitCode { get; }
member this.ExitCode : Nullable<int>
Public ReadOnly Property ExitCode As Nullable(Of Integer)

Property Value

Remarks

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

Applies to