次の方法で共有


ICreateErrorInfo (Compact 2013)

3/26/2014

Thisinterface returns error information for applications that return rich error information.

Methods

The following table shows the methods for this interface in the order that the compiler calls the methods. Like all COM interfaces, this interface inherits the methods for the IUnknown interface.

Method

Description

ICreateErrorInfo::SetGUID

This method sets the globally unique identifier (GUID) of the interface that defined the error.

ICreateErrorInfo::SetSource

This method sets the language-dependent programmatic identifier for the class or application that raised the error.

ICreateErrorInfo::SetDescription

This method sets a textual description of the error.

ICreateErrorInfo::SetHelpFile

This method sets the path of the Help file that describes the error.

ICreateErrorInfo::SetHelpContext

This method sets the Help context identifier for the error.

Requirements

Header

oaidl.h,
oaidl.idl

Library

oleaut32.lib,
uuid.lib

See Also

Reference

Automation Interfaces
IUnknown