TestimoX

API Reference

Enum

ModuleLoadStatus

Namespace TestimoX.PowerShell
Assembly TestimoX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Status of module load attempt.

Inheritance

  • Enum
  • ModuleLoadStatus

Remarks

Indicates whether a module loading strategy succeeded.

Examples


if (result.Status == ModuleLoadStatus.Failed)
{
    Console.WriteLine(result.ErrorMessage);
}

        

Values

public const ModuleLoadStatus Success #

Module was loaded successfully.

Value: 0
public const ModuleLoadStatus Failed #

Module failed to load.

Value: 1