Freigeben über


Part URI Error Group

When you use methods that process IOpcPartUri interfaces or take IOpcPartUri as an input parameter, the following error codes may be returned.

Return code/value Description
OPC_E_NONCONFORMING_URI
0x80510001
The part name does not conform to the rules specified in the OPC standards.
OPC_E_RELATIONSHIP_URI_REQUIRED
0x80510003
The part name of a Relationships part is required, but the part name is not that of a Relationships part.
For more information about the part names of Relationships parts, see the OPC.
OPC_E_RELATIVE_URI_REQUIRED
0x80510002
A part name cannot be an absolute URI. An absolute URI begins with a schema component followed by a ":", as described in RFC 3986: URI Generic Syntax.

Remarks

For more information about error handling in COM, see the Error Handling (COM) topic.

Requirements

Header
Msopc.h

See also

Packaging Errors

Overviews

Getting Started with the Packaging API

Packaging API Programming Guide

Reference

Package Consumption Error Group

Packaging API Reference

Packaging API Samples

External Resources

ECMA-376 OpenXML standard

RFC 3986: URI Generic Syntax