TaskOutcome
Record in Oadm.Sdk.Tasks · Oadm.Sdk.dll
The end of a task (ITaskRunner.GetOutcomeAsync, SDK 0.7.0).
public sealed record TaskOutcome(Guid DeviceId, TaskEndState State, string? Message)Parameters
DeviceId: The task’s device.State: How it ended.Message: Its last message (error, warning or progress), as the tasks pane shows it; null without one.
Properties
Section titled “Properties”DeviceId
Section titled “DeviceId”Guid DeviceId { get; init; }The task’s device.
Message
Section titled “Message”string? Message { get; init; }Its last message (error, warning or progress), as the tasks pane shows it; null without one.
TaskEndState State { get; init; }How it ended.