DocumentConstraintError Complex Type

Defines the attributes and elements used to document a constraint error in a deployment report.

<xs:complexType name="DocumentConstraintError">
    <xs:complexContent>
        <xs:extension
            base="@lt:DocumentError@lid:27305139-a7c9-4e64-a7b9-d63d7fe9952f"
        >
            <xs:sequence>
                <xs:element name="FailedInput"
                    type="@lt:FailedInput@lid:c085f5ba-c85d-4356-987e-13906810076b"
                    minOccurs="0"
                    maxOccurs="unbounded"
                 />
            </xs:sequence>
            <xs:attribute name="ConstraintMember"
                type="string"
                use="required"
             />
            <xs:attribute name="ConstraintDefinition"
                type="string"
                use="required"
             />
            <xs:attribute name="TargetInstancePath"
                type="string"
                use="optional"
             />
            <xs:attribute name="OwnerInstancePath"
                type="string"
                use="optional"
             />
            <xs:attribute name="ConstraintErrorCode"
                type="int"
                use="optional"
             />
            <xs:attribute name="ConstraintErrorMessage"
                type="string"
                use="optional"
             />
        </xs:extension>
    </xs:complexContent>
</xs:complexType>

Child Elements

Element

Type

Description

FailedInput (DocumentConstraintError) Element

FailedInput Complex Type

The failed input that caused the constraint error.

Attributes

Name

Type

Description

ConstraintDefinition

string

The description of the constraint that caused the error.

ConstraintErrorCode

int

The error code of the constraint error.

ConstraintErrorMessage

string

The error message of the constraint error.

ConstraintMember

string

The name of the constraint that raised the error.

OwnerInstancePath

string

XPath in the instance space to the instance that initiated the constraint.

TargetInstancePath

string

XPath in the instance space to the instance the constraint was evaluated against.