ServiceUpdate record

Namespace Runic.Platform.Administration.Windows.Services · Runic.Platform.Administration.Windows 0.7.0-preview.5

public sealed record ServiceUpdate : IEquatable<ServiceUpdate>

Inherits or implements IEquatable.

Selected service edits. Null leaves a field unchanged. Multi-field native changes are not transactional.

Constructors

ServiceUpdate

public ServiceUpdate()

No documentation.

Properties

AccountName

public string? AccountName { get; init; }

Replacement service identity.

BinaryCommandLine

public string? BinaryCommandLine { get; init; }

Replacement executable command line; the executable path must be quoted if the command line contains whitespace.

DelayedAutomaticStart

public bool? DelayedAutomaticStart { get; init; }

Replacement delayed-start flag.

Dependencies

public ImmutableArray<string>? Dependencies { get; init; }

Replacement dependencies; an empty array clears them.

Description

public string? Description { get; init; }

Replacement description; empty clears it.

DisplayName

public string? DisplayName { get; init; }

Replacement display name.

FailurePolicy

public ServiceFailurePolicy? FailurePolicy { get; init; }

Replacement failure configuration.

StartMode

public ServiceStartMode? StartMode { get; init; }

Replacement start mode.