Win32_TerminalError class

Represents a terminal error.

The following syntax is simplified from MOF code and includes all inherited properties.

Syntax

class Win32_TerminalError : __ExtendedStatus
{
  string Description;
  string Operation;
  string ParameterInfo;
  string ProviderName;
  uint32 StatusCode;
  string TerminalName;
};

Members

The Win32_TerminalError class has these types of members:

Properties

The Win32_TerminalError class has these properties.

Description

Data type: string

Access type: Read-only

Any user-defined string that describes an error or operational status.

This property is inherited from __ExtendedStatus.

Operation

Data type: string

Access type: Read-only

Operation that takes place at the time of a failure or anomaly. Typically, WMI sets this property to the name of a COM API for WMI method such as the following: IWbemServices::CreateInstanceEnum.

This property is inherited from __ExtendedStatus.

ParameterInfo

Data type: string

Access type: Read-only

Parameters involved in an error or status change. For example, if an application attempts to retrieve a class that does not exist, this property is set to the offending class name.

This property is inherited from __ExtendedStatus.

ProviderName

Data type: string

Access type: Read-only

Identifies the provider that causes or reports an error or status change. If a provider is not involved, this string is set to "Windows Management".

This property is inherited from __ExtendedStatus.

StatusCode

Data type: uint32

Access type: Read-only

Contains an error or information code for an operation. This can be any value defined by the provider, but the value 0 (zero) is usually reserved to indicate success. This property is inherited from __NotifyStatus.

TerminalName

Data type: string

Access type: Read-only

The name of the terminal sin which the error occurred.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\cimv2\TerminalServices
MOF
TSCfgWmi.mof
DLL
TSCfgWmi.dll

See also

__ExtendedStatus