Share via


DslDefinitionModelSerializationBehaviorSerializationMessages.UnexpectedXmlElement Method

Add an warning for unexpected XML element.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
Public Shared Sub UnexpectedXmlElement ( _
    serializationContext As SerializationContext, _
    reader As XmlReader _
)
public static void UnexpectedXmlElement(
    SerializationContext serializationContext,
    XmlReader reader
)
public:
static void UnexpectedXmlElement(
    SerializationContext^ serializationContext, 
    XmlReader^ reader
)
static member UnexpectedXmlElement : 
        serializationContext:SerializationContext * 
        reader:XmlReader -> unit
public static function UnexpectedXmlElement(
    serializationContext : SerializationContext, 
    reader : XmlReader
)

Parameters

  • reader
    Type: XmlReader

    The reader pointing to where the message is raised.

.NET Framework Security

See Also

Reference

DslDefinitionModelSerializationBehaviorSerializationMessages Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace