勇芳软件工作室.汉化:  Windows Management Instrumentation > COM API for WMI > Interfaces >

IWbemStatusCodeText

Previous pageReturn to chapter overviewNext page

IWbemStatusCodeText界面提取错误代码的文本字符串描述或发生错误的子系统的名称。

 

方法

 

IWbemStatusCodeText接口继承了IUnknown接口的方法。

 

此外,IWbemStatusCodeText定义了以下方法。

 

方法

描述

GetErrorCodeText

返回与错误代码相关联的文本字符串描述。

GetFacilityCodeText

返回发生错误的子系统的名称。

 

要求

 

客户

需要Windows Vista,Windows XP,Windows 2000 Professional,Windows NT Workstation 4.0 SP4及更高版本,Windows Me,Windows 98或Windows 95。

服务器

需要Windows Server 2008,Windows Server 2003,Windows 2000 Server或Windows NT Server 4.0 SP4及更高版本。

在Wbemcli.inc中声明。

DLL

需要Wmiutils.dll。