共用方式為


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 檔案內特定的定義或成員加以識別。