TestimoX

API Reference

Struct

WritePlan

Namespace ComputerX.Registry.RegistryWriter
Assembly ComputerX
Base ValueType
Modifiers sealed

Describes a planned or executed write for a single expanded target.

Inheritance

  • ValueType
  • WritePlan

Constructors

public WritePlan(String computer, String path, String name, RegistryValueKind kind, Object oldValue, RegistryValueKind oldKind, Boolean willCreate, Boolean executed, Boolean success, String error) #

Initializes a new WritePlan describing an intended or completed registry write.

Parameters

computer System.String requiredposition: 0
path System.String requiredposition: 1
name System.String requiredposition: 2
kind Microsoft.Win32.RegistryValueKind requiredposition: 3
oldValue System.Object requiredposition: 4
oldKind Microsoft.Win32.RegistryValueKind requiredposition: 5
willCreate System.Boolean requiredposition: 6
executed System.Boolean requiredposition: 7
success System.Boolean requiredposition: 8
error System.String requiredposition: 9

Properties

public String Computer { get; set; } #

Computer written to.

public String Path { get; set; } #

Absolute registry path.

public String Name { get; set; } #

Value name.

public RegistryValueKind Kind { get; set; } #

Value kind written.

public Object OldValue { get; set; } #

Existing value before write (when available).

public RegistryValueKind OldKind { get; set; } #

Existing kind before write.

public Boolean WillCreate { get; set; } #

True if the value did not exist before the write.

public Boolean Executed { get; set; } #

True if the write was executed (false for WhatIf).

public Boolean Success { get; set; } #

True if the write operation succeeded.

public String Error { get; set; } #

Error message on failure.