Share via


DslDefinitionModelSerializationBehaviorSerializationMessages.DanglingRelationship Method

Definition

Add an error for dangling relationship instance.

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

Parameters

serializationContext
SerializationContext

SerializationContext to add the error message to.

reader
XmlReader

The reader pointing to where the message is raised.

relationshipType
String

Type name of the relationship.

Applies to