ErrorCollection 复杂类型

更新:2007 年 11 月

定义部署报告的“错误”部分可以包含的错误元素。

<xs:complexType name="ErrorCollection">
    <xs:choice
        minOccurs="0"
        maxOccurs="unbounded"
    >
        <xs:element name="DocumentError"
            type="@lt:DocumentError@lid:27305139-a7c9-4e64-a7b9-d63d7fe9952f"
         />
        <xs:element name="DocumentResolutionError"
            type="@lt:DocumentResolutionError@lid:4cb814a0-db58-4496-b29c-8ad166d567d8"
         />
        <xs:element name="DocumentConstraintError"
            type="@lt:DocumentConstraintError@lid:530e9f32-e405-42e9-bc54-501fdd52d7f0"
         />
    </xs:choice>
</xs:complexType>

子元素

元素

类型

说明

DocumentConstraintError (ErrorCollection) 元素

DocumentConstraintError 复杂类型

说明部署报告中的约束错误。

DocumentError (ErrorCollection) 元素

DocumentError 复杂类型

说明部署报告中的一般性错误。

DocumentResolutionError (ErrorCollection) 元素

DocumentResolutionError 复杂类型

说明部署报告中的错误,该错误可以用 .sdm 文件中的特定定义或成员来标识。