Share via


DslDefinitionModelSerializationBehaviorSerializationMessages.MinorVersionMismatch Method

Definition

Add a warning for MinorVersion mismatch.

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

Parameters

serializationContext
SerializationContext

SerializationContext to add the error message to.

reader
XmlReader

The reader pointing to where the message is raised.

actualVersion
Int32

Actual version from the file.

expectedVersion
Int32

The version that's expected.

Applies to