__NotifyStatus class

The __NotifyStatus abstract system class serves as the parent class for provider-defined error classes.

The following syntax is simplified from Managed Object Format (MF) code and includes all inherited properties.

Syntax

[abstract]
class __NotifyStatus
{
  uint32 StatusCode;
};

Members

The __NotifyStatus class has these types of members:

Properties

The __NotifyStatus class has these properties.

StatusCode

Data type: uint32

Access type: Read-only

Contains an error or information code for an operation. This can be any user-defined code, but the value 0 (zero) is usually reserved to indicate success.

Remarks

Although the __NotifyStatus class can be the parent class for provider-defined error classes, it is recommended that providers derive error classes from __ExtendedStatus instead. Using __ExtendedStatus allows for greater standardization of error classes.

Providers should never create instances of __NotifyStatus directly, because these instances convey no more information than a simple return code.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
All WMI namespaces

See also

WMI System Classes