次の方法で共有


MSFT_SMExtendedStatus class

Used to report detailed status and error information.

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

Syntax

[AMENDMENT]
class MSFT_SMExtendedStatus : __ExtendedStatus
{
  string Description;
  string Operation;
  string ParameterInfo;
  string ProviderName;
  uint32 StatusCode;
  Uint16 SMErrorSource;
  Uint32 SMErrorCode;
  string SMMessage;
  string SMDetails;
};

Members

The MSFT_SMExtendedStatus class has these types of members:

Properties

The MSFT_SMExtendedStatus 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, Windows Management Instrumentation (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.

SMDetails

Data type: string

Access type: Read-only

Optional additional information or request/response details.

SMErrorCode

Data type: Uint32

Access type: Read-only

The specific error code returned by the source.

SMErrorSource

Data type: Uint16

Access type: Read-only

The source of the error code or extended status.

The possible values are.

Unknown (0)

Microsoft StorageService (1)

SMI-S Provider (2)

SMMessage

Data type: string

Access type: Read-only

The error message or extended status message.

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.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Storage\SM
MOF
MsftStrgMan.mof
DLL
StorageService.dll

See also

__ExtendedStatus

Windows Storage Management WMI Provider