TestimoX

API Reference

Class

WindowsPowerActionResult

Namespace ComputerX.Power
Assembly ComputerX
Implements
ILocalActionResult IEquatable<WindowsPowerActionResult>
Modifiers sealed

Result returned by local Windows power actions.

Inheritance

  • Object
  • WindowsPowerActionResult

Constructors

public WindowsPowerActionResult(Boolean Succeeded, String Message) #

Result returned by local Windows power actions.

Parameters

Succeeded System.Boolean requiredposition: 0
True when the power action request was accepted successfully.
Message System.String requiredposition: 1
Human-readable action result detail.

Methods

public WindowsPowerActionResult <Clone>$() #
Returns: WindowsPowerActionResult
public Void Deconstruct(out Boolean Succeeded, out String Message) #
Returns: Void

Parameters

Succeeded Boolean requiredposition: 0
Message String requiredposition: 1
public virtual Boolean Equals(WindowsPowerActionResult other) #
Returns: Boolean

Parameters

obj Object requiredposition: 0
public override Int32 GetHashCode() #
Returns: Int32
public override String ToString() #
Returns: String

Properties

public virtual Boolean Succeeded { get; set; } #

True when the power action request was accepted successfully.

public virtual String Message { get; set; } #

Human-readable action result detail.