HostingDefinition Complex Type Complex Type

HostingDefinition Complex Type

Defines elements that contain guest and host member definitions in a hosting relationship.

A guest requires a host to be constructed. Because there can be more than one possible host for a guest, the hosting relationship is also responsible for the construction of the guest on a host. Thus, to create an instance of an object, a hosting relationship must exist from a guest to a compatible host.

<xs:complexType name="HostingDefinition"> <xs:complexContent> <xs:extension base="RelationshipDefinition" > <xs:attribute name="GuestDefinition" type="QualifiedName" use="required" />

  • GuestDefinition
    The definition of the guest instance.

<xs:attribute name="HostDefinition" type="QualifiedName" use="required" />

  • HostDefinition
    The definition of the host instance.

<xs:attribute name="SimulationRoot" type="boolean" use="optional" />

  • SimulationRoot
    true if the definition should have a root instance of it simulated during compilation of the .sdm file to do design time checking; otherwise, false. If this attribute is not specified then the default compiler rules for simulation apply. This attribute is needed when simulation would never pass cleanly but real usages of the definition would work fine.

</xs:extension> </xs:complexContent> </xs:complexType>

  • HostingDefinition
    Defines elements that contain guest and host members in a hosting relationship.

Attributes

Name Type Description
GuestDefinition QualifiedName

The definition of the guest instance.

HostDefinition QualifiedName

The definition of the host instance.

SimulationRoot boolean

true if the definition should have a root instance of it simulated during compilation of the .sdm file to do design time checking; otherwise, false. If this attribute is not specified then the default compiler rules for simulation apply. This attribute is needed when simulation would never pass cleanly but real usages of the definition would work fine.

See Also

SystemDefinitionModel Schema Complex Types

Send comments about this topic to Microsoft

Build date: 10/2/2007