DslDefinitionModelSerializationBehaviorSerializationMessages.MinorVersionMismatch Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.