Condividi tramite


DslDefinitionModelSerializationBehaviorSerializationMessages.ExpectingShortFormRelationship Method

Definition

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

public:
 static void ExpectingShortFormRelationship(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, System::Xml::XmlReader ^ reader, Type ^ relationshipType);
public static void ExpectingShortFormRelationship (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, System.Xml.XmlReader reader, Type relationshipType);
static member ExpectingShortFormRelationship : Microsoft.VisualStudio.Modeling.SerializationContext * System.Xml.XmlReader * Type -> unit
Public Shared Sub ExpectingShortFormRelationship (serializationContext As SerializationContext, reader As XmlReader, relationshipType As Type)

Parameters

serializationContext
SerializationContext

SerializationContext to add the warning message to.

reader
XmlReader

The reader pointing to where the message is raised.

relationshipType
Type

Type of the relationship.

Applies to