public sealed record ServiceUpdate : IEquatable<ServiceUpdate> 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.