CoreDesignSurfaceSerializationBehaviorSerializationMessages.VersionMismatch 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 an error for Version mismatch.
public:
static void VersionMismatch(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, System::Xml::XmlReader ^ reader, Version ^ expectedVersion, Version ^ actualVersion);
public static void VersionMismatch (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, System.Xml.XmlReader reader, Version expectedVersion, Version actualVersion);
static member VersionMismatch : Microsoft.VisualStudio.Modeling.SerializationContext * System.Xml.XmlReader * Version * Version -> unit
Public Shared Sub VersionMismatch (serializationContext As SerializationContext, reader As XmlReader, expectedVersion As Version, actualVersion As Version)
Parameters
- serializationContext
- SerializationContext
SerializationContext to add the error message to.
- reader
- XmlReader
The reader pointing to where the message is raised.
- expectedVersion
- Version
The version that's expected.
- actualVersion
- Version
Actual version from the file.