Skip to content

Latest commit

 

History

History
92 lines (56 loc) · 1.94 KB

--notifystatus.md

File metadata and controls

92 lines (56 loc) · 1.94 KB
description ms.assetid ms.tgt_platform title ms.topic ms.date topic_type api_name api_type api_location
Serves as the parent class for provider-defined error classes.
fc2747f5-cfbc-4d61-894d-4585a03dda3f
multiple
__NotifyStatus class
reference
05/31/2018
APIRef
kbSyntax
__NotifyStatus
All
Schema
All

__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