Partilhar via


DslDefinitionModelSerializationBehaviorSerializationMessages.UnexpectedXmlElement Method

Definition

Add an warning for unexpected XML element.

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

Parameters

serializationContext
SerializationContext

SerializationContext to add the warning message to.

reader
XmlReader

The reader pointing to where the message is raised.

Applies to