MSFT_SoftError class

Represents a soft error.

Soft errors can be returned by intrinsic methods (such as EnumerateInstances and GetInstance) to help distinguish between a query with no results (no error) and a query that fails for a specific reason.

The following syntax is simplified from Managed Object Format (MOF) code.

Syntax

class MSFT_SoftError : CIM_Error
{
  UInt16 ErrorType;
  String OwningEntity;
  String MessageID;
  String Message;
  UInt16 PerceivedSeverity;
  String ErrorSource;
  UInt16 ErrorSourceFormat;
};

Members

The MSFT_SoftError class has these types of members:

Properties

The MSFT_SoftError class has these properties.

ErrorSource

Data type: String

Access type: Read-only

The CIM Object Path to the storage management provider's MSFT_StorageProvider object.

ErrorSourceFormat

Data type: UInt16

Access type: Read-only

Qualifiers: Values ( "CIMObjectPath" ), ValueMap ("2")

The CIM object path.

ErrorType

Data type: UInt16

Access type: Read-only

Qualifiers: Values ( "Software Error" ), ValueMap ("4")

This error is of the type Software Error.

Message

Data type: String

Access type: Read-only

The message displayed to the user. The value of this property is "%1: %2".

"%1" should be replaced with the storage management provider's MSFT_StorageProvider.Name property. "%2" should be replaced with the error message.

MessageID

Data type: String

Access type: Read-only

The message identifier.

OwningEntity

Data type: String

Access type: Read-only

Corresponds to the storage management provider's MSFT_StorageProvider.Name property.

PerceivedSeverity

Data type: UInt16

Access type: Read-only

Qualifiers: Values ( "Information" ), ValueMap ("2")

This error is informative only.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Namespace Root\Microsoft\Windows\Storage
MOF Storagewmi.mof

See also

CIM_Error