다음을 통해 공유


reason Property (Windows Embedded CE 6.0)

1/6/2010

Describes the reason for the error.

Script Syntax

            strValue = oXMLDOMParseError.reason;

Remarks

Ee503521.collapse(en-US,WinEmbedded.60).gifScript Parameters

None.

Ee503521.collapse(en-US,WinEmbedded.60).gifScript Return Value

String. It displays a description of the error. Validation errors also include the URL of the schema and the node within the schema that corresponds to the error.

Ee503521.collapse(en-US,WinEmbedded.60).gifC/C++ Syntax

HRESULT get_reason(
  BSTR* reasonString
);

Remarks

Ee503521.collapse(en-US,WinEmbedded.60).gifC/C++ Parameters

  • reasonString
    [out, retval] Reason for the error. This displays a description of the error, the line number, character position, and source text of the error. Validation errors also include the URL of the schema and the node within the schema that corresponds to the error.

Ee503521.collapse(en-US,WinEmbedded.60).gifC/C++ Return Values

  • S_OK
    Value returned if successful.
  • S_FALSE
    Value returned if no error occurred.

Ee503521.collapse(en-US,WinEmbedded.60).gifRequirements

Header msxml2.h, msxml2.idl
Windows Embedded CE Windows CE .NET 4.0 and later

General Remarks

This property is read-only, and applies to the following interfaces:

IXMLDOMParseError

See Also

Reference

XML DOM Properties