Skip to main content

StatusMessage class

This data object contains information about the success or failure of a request.

Namespace: Lenovo.XC1.PowerShell.Automation.Data

Assembly: Lenovo.XC1.PowerShell.Automation.Data

Properties

public string Status { get; }
Status of the request. This can be one of the following values.
  • informational
  • warning
  • critical
  • unknown

If there are messages in the messages array, this is the most severe from all the messages.

public string Code { get; }
Message ID
public string Text { get; }
Message text that is associated with the message ID
public string Description { get; }
Additional information to clarify the reason for the message
public string UserAction { get; }
User actions that can be taken to recover from the error
public string RecoveryURL { get; }
Link to more information or recovery actions, if available
public string Error { get; }
Error details, if available

Methods

public virtual bool Equals (object obj);
Determines whether the specified object is equal to the current object.

(Inherited from System.Object)

public virtual int GetHashCode ();
Serves as the default hash function

(Inherited from System.Object)

public Type GetType ();
Gets the System.Type of the current instance

(Inherited from System.Object)

public virtual string ToString ();
Returns a string that represents the current object.

(Inherited from System.Object)