CoreDesignSurfaceSerializationBehaviorSerializationMessages::ExpectingShortFormRelationship Method (SerializationContext^, XmlReader^, Type^)

 

Add a warning when a short-form relationship seems to be serialized in full-form.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
static void ExpectingShortFormRelationship(
	SerializationContext^ serializationContext,
	XmlReader^ reader,
	Type^ relationshipType
)

Parameters

serializationContext
Type: Microsoft.VisualStudio.Modeling::SerializationContext^

SerializationContext to add the warning message to.

reader
Type: System.Xml::XmlReader^

The reader pointing to where the message is raised.

relationshipType
Type: System::Type^

Type of the relationship.

Return to top
Show: